pub enum PacketSerializeFail {
Header(SerializeErr),
Body(SerializeErr),
}Variants§
Header(SerializeErr)
Body(SerializeErr)
Trait Implementations§
Source§impl Debug for PacketSerializeFail
impl Debug for PacketSerializeFail
Source§impl Deref for PacketSerializeFail
impl Deref for PacketSerializeFail
Source§impl DerefMut for PacketSerializeFail
impl DerefMut for PacketSerializeFail
Source§impl Display for PacketSerializeFail
impl Display for PacketSerializeFail
Source§impl Error for PacketSerializeFail
impl Error for PacketSerializeFail
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<PacketSerializeFail> for WriteError
impl From<PacketSerializeFail> for WriteError
Source§fn from(source: PacketSerializeFail) -> Self
fn from(source: PacketSerializeFail) -> Self
Converts to this type from the input type.
Source§impl Into<SerializeErr> for PacketSerializeFail
impl Into<SerializeErr> for PacketSerializeFail
Source§fn into(self) -> SerializeErr
fn into(self) -> SerializeErr
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for PacketSerializeFail
impl RefUnwindSafe for PacketSerializeFail
impl Send for PacketSerializeFail
impl Sync for PacketSerializeFail
impl Unpin for PacketSerializeFail
impl UnwindSafe for PacketSerializeFail
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