Enum snow::error::StateProblem
source · pub enum StateProblem {
MissingKeyMaterial,
MissingPsk,
NotTurnToWrite,
NotTurnToRead,
HandshakeNotFinished,
HandshakeAlreadyFinished,
OneWay,
StatelessTransportMode,
Exhausted,
}
Expand description
Specific errors in the state machine.
Variants§
MissingKeyMaterial
MissingPsk
NotTurnToWrite
NotTurnToRead
HandshakeNotFinished
HandshakeAlreadyFinished
OneWay
StatelessTransportMode
Exhausted
The nonce counter attempted to go higher than (2^64) - 1
Trait Implementations§
source§impl Debug for StateProblem
impl Debug for StateProblem
source§impl From<StateProblem> for Error
impl From<StateProblem> for Error
source§fn from(reason: StateProblem) -> Self
fn from(reason: StateProblem) -> Self
Converts to this type from the input type.
source§impl PartialEq for StateProblem
impl PartialEq for StateProblem
source§fn eq(&self, other: &StateProblem) -> bool
fn eq(&self, other: &StateProblem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StateProblem
Auto Trait Implementations§
impl Freeze for StateProblem
impl RefUnwindSafe for StateProblem
impl Send for StateProblem
impl Sync for StateProblem
impl Unpin for StateProblem
impl UnwindSafe for StateProblem
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