Skip to main content

FoldFailure

Struct FoldFailure 

Source
pub struct FoldFailure<A: Address, Sends, New, E> {
    pub effects: Effects<A, Sends, New>,
    pub error: E,
    pub transitions: usize,
}
Expand description

A controlled fold failure together with every previously committed effect.

Fields§

§effects: Effects<A, Sends, New>§error: E§transitions: usize

Trait Implementations§

Source§

impl<A: Address, Sends, New, E: Debug> Debug for FoldFailure<A, Sends, New, E>

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<A, Sends, New, E> Freeze for FoldFailure<A, Sends, New, E>
where E: Freeze, Sends: Freeze,

§

impl<A, Sends, New, E> RefUnwindSafe for FoldFailure<A, Sends, New, E>

§

impl<A, Sends, New, E> Send for FoldFailure<A, Sends, New, E>
where E: Send, Sends: Send, <A as Address>::Nonce: Send, New: Send,

§

impl<A, Sends, New, E> Sync for FoldFailure<A, Sends, New, E>
where E: Sync, Sends: Sync, <A as Address>::Nonce: Sync, New: Sync,

§

impl<A, Sends, New, E> Unpin for FoldFailure<A, Sends, New, E>
where E: Unpin, Sends: Unpin, <A as Address>::Nonce: Unpin, New: Unpin,

§

impl<A, Sends, New, E> UnsafeUnpin for FoldFailure<A, Sends, New, E>
where E: UnsafeUnpin, Sends: UnsafeUnpin,

§

impl<A, Sends, New, E> UnwindSafe for FoldFailure<A, Sends, New, E>
where E: UnwindSafe, Sends: UnwindSafe, <A as Address>::Nonce: UnwindSafe, New: 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 = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.