Struct winsafe::guard::FreeSidGuard
source · pub struct FreeSidGuard { /* private fields */ }
Available on crate feature
kernel
only.Expand description
RAII implementation for SID
, returned by
AllocateAndInitializeSid
, which
automatically calls
FreeSid
when the object goes out of scope.
Implementations§
Methods from Deref<Target = SID>§
sourcepub fn SubAuthorityCount(&self) -> u8
pub fn SubAuthorityCount(&self) -> u8
Returns the SubAuthorityCount
field.
sourcepub fn SubAuthority(&self) -> &[RID]
pub fn SubAuthority(&self) -> &[RID]
Returns the SubAuthority
field.
Trait Implementations§
source§impl Deref for FreeSidGuard
impl Deref for FreeSidGuard
source§impl Display for FreeSidGuard
impl Display for FreeSidGuard
Auto Trait Implementations§
impl Freeze for FreeSidGuard
impl RefUnwindSafe for FreeSidGuard
impl !Send for FreeSidGuard
impl !Sync for FreeSidGuard
impl Unpin for FreeSidGuard
impl UnwindSafe for FreeSidGuard
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