pub enum SecretBackendPresence {
Present,
Absent,
Unknown,
}Expand description
Whether a secret-store path is present according to metadata only.
Variants§
Present
A regular file exists at the resolved path.
Absent
No filesystem entry exists at the resolved path.
Unknown
Presence is unavailable or the entry is not a regular file.
Trait Implementations§
Source§impl Clone for SecretBackendPresence
impl Clone for SecretBackendPresence
Source§fn clone(&self) -> SecretBackendPresence
fn clone(&self) -> SecretBackendPresence
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 SecretBackendPresence
Source§impl Debug for SecretBackendPresence
impl Debug for SecretBackendPresence
impl Eq for SecretBackendPresence
Source§impl PartialEq for SecretBackendPresence
impl PartialEq for SecretBackendPresence
Source§impl Serialize for SecretBackendPresence
impl Serialize for SecretBackendPresence
impl StructuralPartialEq for SecretBackendPresence
Auto Trait Implementations§
impl Freeze for SecretBackendPresence
impl RefUnwindSafe for SecretBackendPresence
impl Send for SecretBackendPresence
impl Sync for SecretBackendPresence
impl Unpin for SecretBackendPresence
impl UnsafeUnpin for SecretBackendPresence
impl UnwindSafe for SecretBackendPresence
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