pub enum ConvertPacketError {
WrongSize,
UnknownEnumVariant,
WrongType,
Event(EventError),
}Variants
WrongSize
UnknownEnumVariant
WrongType
Event(EventError)
Trait Implementations
sourceimpl Debug for ConvertPacketError
impl Debug for ConvertPacketError
sourceimpl PartialEq<ConvertPacketError> for ConvertPacketError
impl PartialEq<ConvertPacketError> for ConvertPacketError
sourcefn eq(&self, other: &ConvertPacketError) -> bool
fn eq(&self, other: &ConvertPacketError) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ConvertPacketError) -> bool
fn ne(&self, other: &ConvertPacketError) -> bool
This method tests for !=.
impl StructuralPartialEq for ConvertPacketError
Auto Trait Implementations
impl RefUnwindSafe for ConvertPacketError
impl Send for ConvertPacketError
impl Sync for ConvertPacketError
impl Unpin for ConvertPacketError
impl UnwindSafe for ConvertPacketError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more