Enum snow::StateProblem [−][src]
pub enum StateProblem { MissingKeyMaterial, MissingPsk, NotTurnToWrite, NotTurnToRead, HandshakeNotFinished, HandshakeAlreadyFinished, OneWay, }
Specific errors in the state machine.
Variants
MissingKeyMaterial
MissingPsk
NotTurnToWrite
NotTurnToRead
HandshakeNotFinished
HandshakeAlreadyFinished
OneWay
Trait Implementations
impl Debug for StateProblem
[src]
impl Debug for StateProblem
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<StateProblem> for SnowError
[src]
impl From<StateProblem> for SnowError
fn from(reason: StateProblem) -> Self
[src]
fn from(reason: StateProblem) -> Self
Performs the conversion.
Auto Trait Implementations
impl Send for StateProblem
impl Send for StateProblem
impl Sync for StateProblem
impl Sync for StateProblem