Enum sphinx_packet::error::ErrorKind
source · pub enum ErrorKind {
InvalidPacket,
InvalidHeader,
InvalidPayload,
InvalidSURB,
InvalidRouting,
}Variants§
InvalidPacket
Error originating from packet related functionality.
InvalidHeader
Error originating from general header related functionality.
InvalidPayload
Error originating from payload related functionality.
InvalidSURB
Error originating from SURB related functionality.
InvalidRouting
Error originating routing information related functionality.
Trait Implementations§
source§impl Ord for ErrorKind
impl Ord for ErrorKind
source§impl PartialEq<ErrorKind> for ErrorKind
impl PartialEq<ErrorKind> for ErrorKind
source§impl PartialOrd<ErrorKind> for ErrorKind
impl PartialOrd<ErrorKind> for ErrorKind
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more