Enum ntex::ws::ProtocolError [−][src]
pub enum ProtocolError {
UnmaskedFrame,
MaskedFrame,
InvalidOpcode(u8),
InvalidLength(usize),
BadOpCode,
Overflow,
ContinuationNotStarted,
ContinuationStarted,
ContinuationFragment(OpCode),
}
Expand description
Websocket protocol errors
Variants
Received an unmasked frame from client
Received a masked frame from server
InvalidOpcode(u8)
Encountered invalid opcode
Tuple Fields of InvalidOpcode
0: u8
InvalidLength(usize)
Invalid control frame length
Tuple Fields of InvalidLength
0: usize
Bad web socket op code
A payload reached size limit.
Continuation is not started
Received new continuation but it is already started
ContinuationFragment(OpCode)
Unknown continuation fragment
Tuple Fields of ContinuationFragment
0: OpCode
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Create response for error Read more