pub enum KeychainSay {
Expiry(i64),
Absent,
Unreadable,
}Expand description
What the Keychain was able to tell us.
Variants§
Expiry(i64)
It holds a credential expiring at this instant.
Absent
It genuinely holds no credential for this slot.
Unreadable
It could not be read here - locked, or a non-interactive shell. This is a fact about the environment, not about the account.
Trait Implementations§
Source§impl Debug for KeychainSay
impl Debug for KeychainSay
Source§impl PartialEq for KeychainSay
impl PartialEq for KeychainSay
impl StructuralPartialEq for KeychainSay
Auto Trait Implementations§
impl Freeze for KeychainSay
impl RefUnwindSafe for KeychainSay
impl Send for KeychainSay
impl Sync for KeychainSay
impl Unpin for KeychainSay
impl UnsafeUnpin for KeychainSay
impl UnwindSafe for KeychainSay
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more