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.
source§impl PartialEq for PatternProblem
impl PartialEq for PatternProblem
source§fn eq(&self, other: &PatternProblem) -> bool
fn eq(&self, other: &PatternProblem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PatternProblem
Auto Trait Implementations§
impl Freeze for PatternProblem
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