pub enum Secret {
KeyFiles(KeyFileNames),
Tree(&'static str),
DirName(&'static str),
}Expand description
What, in a Scope’s directory, is a Credential.
Variants§
KeyFiles(KeyFileNames)
The files whose names KeyFileNames::admits.
Tree(&'static str)
This relative path and everything under it.
DirName(&'static str)
A directory of this name and everything under it.
Trait Implementations§
impl Copy for Secret
impl Eq for Secret
impl StructuralPartialEq for Secret
Auto Trait Implementations§
impl Forget for Secret
impl Freeze for Secret
impl Move for Secret
impl RefUnwindSafe for Secret
impl Send for Secret
impl Sync for Secret
impl Unpin for Secret
impl UnsafeUnpin for Secret
impl UnwindSafe for Secret
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