Struct winsafe::guard::LocalFreeSidGuard
source · pub struct LocalFreeSidGuard { /* private fields */ }
Available on crate feature
kernel
only.Expand description
RAII implementation for SID
, returned by
ConvertStringSidToSid
, which automatically
calls
LocalFree
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 LocalFreeSidGuard
impl Deref for LocalFreeSidGuard
Auto Trait Implementations§
impl Freeze for LocalFreeSidGuard
impl RefUnwindSafe for LocalFreeSidGuard
impl Send for LocalFreeSidGuard
impl !Sync for LocalFreeSidGuard
impl Unpin for LocalFreeSidGuard
impl UnwindSafe for LocalFreeSidGuard
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