Skip to main content

FulfilledAction

Struct FulfilledAction 

Source
pub struct FulfilledAction<Action: ActionSource, Value> { /* private fields */ }

Implementations§

Source§

impl<Action: ActionSource, Value> FulfilledAction<Action, Value>

Source

pub const fn new(action: Action, source: Action::Source, value: Value) -> Self

Source

pub fn take_action(self) -> Action

Source

pub fn source(&self) -> &Action::Source

Source

pub fn value(&self) -> &Value

Trait Implementations§

Source§

impl<Action: ActionSource, Value: Send + Sync> ActionSource for FulfilledAction<Action, Value>

Source§

type Source = <Action as ActionSource>::Source

Where this action originates from.
Source§

fn source(&self) -> &Self::Source

Where this action originates from.

Auto Trait Implementations§

§

impl<Action, Value> Freeze for FulfilledAction<Action, Value>
where Action: Freeze, <Action as ActionSource>::Source: Freeze, Value: Freeze,

§

impl<Action, Value> RefUnwindSafe for FulfilledAction<Action, Value>
where Action: RefUnwindSafe, <Action as ActionSource>::Source: RefUnwindSafe, Value: RefUnwindSafe,

§

impl<Action, Value> Send for FulfilledAction<Action, Value>
where Action: Send, Value: Send,

§

impl<Action, Value> Sync for FulfilledAction<Action, Value>
where Action: Sync, Value: Sync,

§

impl<Action, Value> Unpin for FulfilledAction<Action, Value>
where Action: Unpin, <Action as ActionSource>::Source: Unpin, Value: Unpin,

§

impl<Action, Value> UnwindSafe for FulfilledAction<Action, Value>
where Action: UnwindSafe, <Action as ActionSource>::Source: UnwindSafe, Value: 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> StateFilterInputConversion<T> for T

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.