Enum gio::CredentialsType [−][src]
#[non_exhaustive] pub enum CredentialsType { Invalid, LinuxUcred, FreebsdCmsgcred, OpenbsdSockpeercred, SolarisUcred, NetbsdUnpcbid, AppleXucred, // some variants omitted }
Expand description
Enumeration describing different kinds of native credential types.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Indicates an invalid native credential type.
The native credentials type is a struct ucred
.
The native credentials type is a struct cmsgcred
.
The native credentials type is a struct sockpeercred
. Added in 2.30.
The native credentials type is a ucred_t
. Added in 2.40.
The native credentials type is a struct unpcbid
. Added in 2.42.
The native credentials type is a struct xucred
. Added in 2.66.
Trait Implementations
type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Returns the type identifier of Self
.
Auto Trait Implementations
impl RefUnwindSafe for CredentialsType
impl Send for CredentialsType
impl Sync for CredentialsType
impl Unpin for CredentialsType
impl UnwindSafe for CredentialsType
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.