Enum actix_http::ws::ProtocolError [−][src]
pub enum ProtocolError {
UnmaskedFrame,
MaskedFrame,
InvalidOpcode(u8),
InvalidLength(usize),
BadOpCode,
Overflow,
ContinuationNotStarted,
ContinuationStarted,
ContinuationFragment(OpCode),
Io(Error),
}Expand description
WebSocket protocol errors.
Variants
Received an unmasked frame from client.
Received a masked frame from server.
InvalidOpcode(u8)Encountered invalid opcode.
InvalidLength(usize)Invalid control frame length
Bad opcode.
A payload reached size limit.
Continuation is not started.
Received new continuation but it is already started.
ContinuationFragment(OpCode)Unknown continuation fragment.
Io(Error)I/O error.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ProtocolErrorimpl Send for ProtocolErrorimpl Sync for ProtocolErrorimpl Unpin for ProtocolErrorimpl !UnwindSafe for ProtocolError