[−][src]Enum kompact::messaging::UnpackError
An error that is thrown when deserialisation of a NetMessage is attempted.
Variants
ser_id
did not match the given Deserialiser.
Box<dyn Any>::downcast()
failed.
DeserError(SerError)
An error occurred during deserialisation of the buffer.
This can not contain T
, as the buffer may have been corrupted during the failed attempt.
Methods
impl<T> UnpackError<T>
[src]
pub fn get(self) -> Option<T>
[src]
Retrieve the wrapped T
instance, if any
pub fn get_box(self) -> Option<Box<dyn Any + Send + 'static>>
[src]
Retrieve a wrapped any box, if there is any
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for UnpackError<T>
impl<T> Send for UnpackError<T> where
T: Send,
T: Send,
impl<T> !Sync for UnpackError<T>
impl<T> Unpin for UnpackError<T> where
T: Unpin,
T: Unpin,
impl<T> !UnwindSafe for UnpackError<T>
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,
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, 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.
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.
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>,