Enum snow::error::Prerequisite
source · [−]pub enum Prerequisite {
LocalPrivateKey,
RemotePublicKey,
}
Expand description
A prerequisite that may be missing.
Variants
LocalPrivateKey
RemotePublicKey
Trait Implementations
sourceimpl Debug for Prerequisite
impl Debug for Prerequisite
sourceimpl From<Prerequisite> for Error
impl From<Prerequisite> for Error
sourcefn from(reason: Prerequisite) -> Self
fn from(reason: Prerequisite) -> Self
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Prerequisite
impl Send for Prerequisite
impl Sync for Prerequisite
impl Unpin for Prerequisite
impl UnwindSafe for Prerequisite
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more