pub struct Session {
pub user: String,
pub guest: bool,
pub trees: Vec<u16>,
}Expand description
An authenticated SMB session (one UID).
Fields§
§user: StringAuthenticated principal name (nobody for guests).
guest: boolTrue when mapped to guest rather than a configured account.
trees: Vec<u16>Tree connects opened under this session.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Session
impl RefUnwindSafe for Session
impl Send for Session
impl Sync for Session
impl Unpin for Session
impl UnsafeUnpin for Session
impl UnwindSafe for Session
Blanket Implementations§
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