Enum toku_protocol::error::ProtocolError [−][src]
pub enum ProtocolError { InvalidOpcode { opcode: u8, }, InvalidPayload { reason: String, }, PayloadTooLarge { actual: u32, max: u32, }, }
Variants
Show fields
Fields of InvalidOpcode
opcode: u8
Show fields
Fields of InvalidPayload
reason: String
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ProtocolError
impl Send for ProtocolError
impl Sync for ProtocolError
impl Unpin for ProtocolError
impl UnwindSafe for ProtocolError