pub struct Tauth {
pub afid: u32,
pub uname: String,
pub aname: String,
pub n_uname: u32,
}
Expand description
auth – authenticate a user
size[4] Tauth tag[2] afid[4] uname[s] aname[s]
size[4] Rauth tag[2] aqid[13]
auth authenticates the user named uname to access the file tree with the root named aname.
afid is used as the fid in the attach message that follows auth.
Fields§
§afid: u32
§uname: String
§aname: String
§n_uname: u32
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tauth
impl RefUnwindSafe for Tauth
impl Send for Tauth
impl Sync for Tauth
impl Unpin for Tauth
impl UnwindSafe for Tauth
Blanket Implementations§
Source§impl<T> AsyncWireFormatExt for Twhere
T: WireFormat + Send,
impl<T> AsyncWireFormatExt for Twhere
T: WireFormat + Send,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more