#[repr(C)]pub struct SID {
pub Revision: u8,
pub IdentifierAuthority: SID_IDENTIFIER_AUTHORITY,
/* private fields */
}
Available on crate feature
kernel
only.Expand description
SID
struct.
Note that you cannot directly instantiate this
VariableSized
struct, because the
SubAuthority
field is dynamically allocated.
Possible ways:
Fields§
§Revision: u8
§IdentifierAuthority: SID_IDENTIFIER_AUTHORITY
Implementations§
source§impl SID
impl 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§
impl Eq for SID
impl VariableSized for SID
Auto Trait Implementations§
impl RefUnwindSafe for SID
impl Send for SID
impl Sync for SID
impl Unpin for SID
impl UnwindSafe for SID
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