pub enum ParsePongError {
InvalidSize,
}Expand description
Error during parsing of a PongPacket.
Variants§
InvalidSize
Pong packets must always be 24 bytes in size.
Trait Implementations§
Source§impl Clone for ParsePongError
impl Clone for ParsePongError
Source§fn clone(&self) -> ParsePongError
fn clone(&self) -> ParsePongError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParsePongError
impl Debug for ParsePongError
Source§impl PartialEq for ParsePongError
impl PartialEq for ParsePongError
impl StructuralPartialEq for ParsePongError
Auto Trait Implementations§
impl Freeze for ParsePongError
impl RefUnwindSafe for ParsePongError
impl Send for ParsePongError
impl Sync for ParsePongError
impl Unpin for ParsePongError
impl UnwindSafe for ParsePongError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more