pub enum DecodeNotificationError {
Position(DecodePositionNotificationError),
CommandResponse(DecodeResponseNotificationError),
}Expand description
Reports why a tagged transport notification could not be decoded.
Variants§
Position(DecodePositionNotificationError)
A position notification was malformed.
CommandResponse(DecodeResponseNotificationError)
A command-response notification was malformed or unsupported.
Trait Implementations§
Source§impl Clone for DecodeNotificationError
impl Clone for DecodeNotificationError
Source§fn clone(&self) -> DecodeNotificationError
fn clone(&self) -> DecodeNotificationError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DecodeNotificationError
Source§impl Debug for DecodeNotificationError
impl Debug for DecodeNotificationError
Source§impl Display for DecodeNotificationError
impl Display for DecodeNotificationError
impl Eq for DecodeNotificationError
Source§impl Error for DecodeNotificationError
impl Error for DecodeNotificationError
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<DecodeNotificationError> for EventStreamError
impl From<DecodeNotificationError> for EventStreamError
Source§fn from(source: DecodeNotificationError) -> Self
fn from(source: DecodeNotificationError) -> Self
Converts to this type from the input type.
Source§impl<E> From<DecodeNotificationError> for BoardError<E>
impl<E> From<DecodeNotificationError> for BoardError<E>
Source§fn from(source: DecodeNotificationError) -> Self
fn from(source: DecodeNotificationError) -> Self
Converts to this type from the input type.
Source§impl From<DecodePositionNotificationError> for DecodeNotificationError
impl From<DecodePositionNotificationError> for DecodeNotificationError
Source§fn from(source: DecodePositionNotificationError) -> Self
fn from(source: DecodePositionNotificationError) -> Self
Converts to this type from the input type.
Source§impl From<DecodeResponseNotificationError> for DecodeNotificationError
impl From<DecodeResponseNotificationError> for DecodeNotificationError
Source§fn from(source: DecodeResponseNotificationError) -> Self
fn from(source: DecodeResponseNotificationError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DecodeNotificationError
impl PartialEq for DecodeNotificationError
impl StructuralPartialEq for DecodeNotificationError
Auto Trait Implementations§
impl Freeze for DecodeNotificationError
impl RefUnwindSafe for DecodeNotificationError
impl Send for DecodeNotificationError
impl Sync for DecodeNotificationError
impl Unpin for DecodeNotificationError
impl UnsafeUnpin for DecodeNotificationError
impl UnwindSafe for DecodeNotificationError
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