Enum zbus::MessageError [−][src]
Error type returned by Message methods.
Variants
Insufficient data provided.
Data too large.
Endian signature invalid or doesn’t match expectation.
Io(IOError)An I/O error.
Missing body signature.
Unmatching/bad body signature.
Invalid message field.
Variant(VariantError)Data serializing/deserializing error.
A required field is missing in the headers.
Only exists to allow TryFrom<T> for T conversions. You should never actually be getting
this error from any API.
Trait Implementations
impl Debug for MessageError[src]
impl Display for MessageError[src]
impl Error for MessageError[src]
fn source(&self) -> Option<&(dyn Error + 'static)>[src]
pub fn backtrace(&self) -> Option<&Backtrace>[src]
pub fn description(&self) -> &str1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>1.0.0[src]
impl From<Error> for MessageError[src]
fn from(val: VariantError) -> MessageError[src]
impl From<Error> for MessageError[src]
fn from(val: IOError) -> MessageError[src]
impl From<Infallible> for MessageError[src]
fn from(_: Infallible) -> Self[src]
impl From<MessageError> for Error[src]
fn from(val: MessageError) -> Self[src]
impl From<MessageError> for Error[src]
fn from(val: MessageError) -> Self[src]
impl PartialEq<MessageError> for MessageError[src]
Auto Trait Implementations
impl !RefUnwindSafe for MessageError
impl Send for MessageError
impl Sync for MessageError
impl Unpin for MessageError
impl !UnwindSafe for MessageError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,