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§
source§impl Debug for PatternProblem
impl Debug for PatternProblem
source§impl From<PatternProblem> for Error
impl From<PatternProblem> for Error
source§fn from(reason: PatternProblem) -> Self
fn from(reason: PatternProblem) -> Self
Converts to this type from the input type.
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§
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