pub enum PacketWritableError {
Custom(CustomError),
}Variants§
Custom(CustomError)
Trait Implementations§
Source§impl Debug for PacketWritableError
impl Debug for PacketWritableError
Source§impl Display for PacketWritableError
impl Display for PacketWritableError
Source§impl Error for PacketWritableError
impl Error for PacketWritableError
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<CustomError> for PacketWritableError
impl From<CustomError> for PacketWritableError
Source§fn from(err: CustomError) -> PacketWritableError
fn from(err: CustomError) -> PacketWritableError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PacketWritableError
impl !RefUnwindSafe for PacketWritableError
impl Send for PacketWritableError
impl Sync for PacketWritableError
impl Unpin for PacketWritableError
impl !UnwindSafe for PacketWritableError
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