pub enum UnknownAuthReason {
AuthPathIsNotFileOrSymlink,
SymlinkTargetOutsideManagerDir,
SymlinkTargetHasInvalidIdentityName,
}Expand description
Reason CAM cannot safely classify the auth state.
Variants§
AuthPathIsNotFileOrSymlink
auth.json is neither a regular file nor a symlink.
SymlinkTargetOutsideManagerDir
The auth.json symlink points outside CAM’s manager directory.
SymlinkTargetHasInvalidIdentityName
The auth.json symlink target does not map to a valid identity name.
Trait Implementations§
Source§impl Clone for UnknownAuthReason
impl Clone for UnknownAuthReason
Source§fn clone(&self) -> UnknownAuthReason
fn clone(&self) -> UnknownAuthReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UnknownAuthReason
Source§impl Debug for UnknownAuthReason
impl Debug for UnknownAuthReason
Source§impl Display for UnknownAuthReason
impl Display for UnknownAuthReason
impl Eq for UnknownAuthReason
Source§impl PartialEq for UnknownAuthReason
impl PartialEq for UnknownAuthReason
Source§fn eq(&self, other: &UnknownAuthReason) -> bool
fn eq(&self, other: &UnknownAuthReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UnknownAuthReason
Auto Trait Implementations§
impl Freeze for UnknownAuthReason
impl RefUnwindSafe for UnknownAuthReason
impl Send for UnknownAuthReason
impl Sync for UnknownAuthReason
impl Unpin for UnknownAuthReason
impl UnsafeUnpin for UnknownAuthReason
impl UnwindSafe for UnknownAuthReason
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