Enum snow::error::StateProblem
source · [−]pub enum StateProblem {
MissingKeyMaterial,
MissingPsk,
NotTurnToWrite,
NotTurnToRead,
HandshakeNotFinished,
HandshakeAlreadyFinished,
OneWay,
StatelessTransportMode,
}
Expand description
Specific errors in the state machine.
Variants
MissingKeyMaterial
MissingPsk
NotTurnToWrite
NotTurnToRead
HandshakeNotFinished
HandshakeAlreadyFinished
OneWay
StatelessTransportMode
Trait Implementations
sourceimpl Debug for StateProblem
impl Debug for StateProblem
sourceimpl From<StateProblem> for Error
impl From<StateProblem> for Error
sourcefn from(reason: StateProblem) -> Self
fn from(reason: StateProblem) -> Self
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for StateProblem
impl Send for StateProblem
impl Sync for StateProblem
impl Unpin for StateProblem
impl UnwindSafe for StateProblem
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