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.