Enum snow::error::PatternProblem
source · [−]pub enum PatternProblem {
TooFewParameters,
UnsupportedHandshakeType,
UnsupportedBaseType,
UnsupportedHashType,
UnsupportedDhType,
UnsupportedCipherType,
InvalidPsk,
UnsupportedModifier,
}
Expand description
The various stages of initialization used to help identify
the specific cause of an Init
error.
Variants
TooFewParameters
UnsupportedHandshakeType
UnsupportedBaseType
UnsupportedHashType
UnsupportedDhType
UnsupportedCipherType
InvalidPsk
UnsupportedModifier
Trait Implementations
sourceimpl Debug for PatternProblem
impl Debug for PatternProblem
sourceimpl From<PatternProblem> for Error
impl From<PatternProblem> for Error
sourcefn from(reason: PatternProblem) -> Self
fn from(reason: PatternProblem) -> Self
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for PatternProblem
impl Send for PatternProblem
impl Sync for PatternProblem
impl Unpin for PatternProblem
impl UnwindSafe for PatternProblem
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