Skip to main content

ReadFailure

Enum ReadFailure 

Source
pub enum ReadFailure<E, D, G> {
    Processing {
        member: MemberId<D, G>,
        cause: Error<E>,
    },
    Integrity {
        member: MemberId<D, G>,
        range: Span,
        kind: Integrity,
    },
    Receiver(Refused),
}
Expand description

The complete original member could not be delivered.

Variants§

§

Processing

Original range/work/storage refusal.

Fields

§member: MemberId<D, G>

Exact original occurrence.

§cause: Error<E>

Original typed processing cause.

§

Integrity

An original envelope or payload integrity check failed.

Fields

§member: MemberId<D, G>

Exact original occurrence.

§range: Span

Physical original member enclosure.

§kind: Integrity

Independent integrity cause.

§

Receiver(Refused)

The common stream driver retains the receiver’s original refusal.

Trait Implementations§

Source§

impl<E: Debug, D: Debug, G: Debug> Debug for ReadFailure<E, D, G>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<E, D, G> Freeze for ReadFailure<E, D, G>
where MemberId<D, G>: Freeze, Error<E>: Freeze,

§

impl<E, D, G> RefUnwindSafe for ReadFailure<E, D, G>

§

impl<E, D, G> Send for ReadFailure<E, D, G>
where MemberId<D, G>: Send, Error<E>: Send,

§

impl<E, D, G> Sync for ReadFailure<E, D, G>
where MemberId<D, G>: Sync, Error<E>: Sync,

§

impl<E, D, G> Unpin for ReadFailure<E, D, G>
where MemberId<D, G>: Unpin, Error<E>: Unpin,

§

impl<E, D, G> UnsafeUnpin for ReadFailure<E, D, G>

§

impl<E, D, G> UnwindSafe for ReadFailure<E, D, G>
where MemberId<D, G>: UnwindSafe, Error<E>: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.