Skip to main content

BindingCommand

Struct BindingCommand 

Source
pub struct BindingCommand<A, Key, Role>{ /* private fields */ }
Expand description

One complete generation-exact binding management command.

Applications construct this value through super::KeyedCommand so binding management has one canonical command spelling.

Implementations§

Source§

impl<A, Key, Role> BindingCommand<A, Key, Role>

Source

pub const fn request(&self) -> BindingRequestId

Borrow the caller-authored correlation.

Source

pub const fn key(&self) -> &Key

Borrow the caller-owned lookup key.

Source

pub const fn expectation(&self) -> &BindingExpectation

Borrow the exact state required before mutation.

Auto Trait Implementations§

§

impl<A, Key, Role> Freeze for BindingCommand<A, Key, Role>
where Key: Freeze, Role: Freeze, A: Freeze, <A as EndpointAddress>::Established<MessageProtocol<A, BindingReply<A, Key, Role>>>: Freeze,

§

impl<A, Key, Role> RefUnwindSafe for BindingCommand<A, Key, Role>

§

impl<A, Key, Role> Send for BindingCommand<A, Key, Role>
where Key: Send, Role: Send, A: Send, <A as EndpointAddress>::Established<MessageProtocol<A, BindingReply<A, Key, Role>>>: Send,

§

impl<A, Key, Role> Sync for BindingCommand<A, Key, Role>
where Key: Sync, Role: Sync, A: Sync, <A as EndpointAddress>::Established<MessageProtocol<A, BindingReply<A, Key, Role>>>: Sync,

§

impl<A, Key, Role> Unpin for BindingCommand<A, Key, Role>
where Key: Unpin, Role: Unpin, A: Unpin, <A as EndpointAddress>::Established<MessageProtocol<A, BindingReply<A, Key, Role>>>: Unpin,

§

impl<A, Key, Role> UnsafeUnpin for BindingCommand<A, Key, Role>

§

impl<A, Key, Role> UnwindSafe for BindingCommand<A, Key, Role>

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.