Enum lightws::error::FrameError
source · pub enum FrameError {
IllegalFin,
IllegalMask,
IllegalOpCode,
IllegalData,
NotEnoughData,
NotEnoughCapacity,
UnsupportedOpcode,
}
Variants§
Trait Implementations§
source§impl Debug for FrameError
impl Debug for FrameError
source§impl Display for FrameError
impl Display for FrameError
source§impl Error for FrameError
impl Error for FrameError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<FrameError> for Error
impl From<FrameError> for Error
source§fn from(e: FrameError) -> Self
fn from(e: FrameError) -> Self
Converts to this type from the input type.
source§impl From<FrameError> for Error
impl From<FrameError> for Error
source§fn from(e: FrameError) -> Self
fn from(e: FrameError) -> Self
Converts to this type from the input type.
source§impl PartialEq for FrameError
impl PartialEq for FrameError
impl Eq for FrameError
impl StructuralPartialEq for FrameError
Auto Trait Implementations§
impl Freeze for FrameError
impl RefUnwindSafe for FrameError
impl Send for FrameError
impl Sync for FrameError
impl Unpin for FrameError
impl UnwindSafe for FrameError
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