pub struct BindingCommand<A, Key, Role>where
A: Address + EndpointAddress,{ /* 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>where
A: Address + EndpointAddress,
impl<A, Key, Role> BindingCommand<A, Key, Role>where
A: Address + EndpointAddress,
Sourcepub const fn request(&self) -> BindingRequestId
pub const fn request(&self) -> BindingRequestId
Borrow the caller-authored correlation.
Sourcepub const fn expectation(&self) -> &BindingExpectation
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>where
Key: RefUnwindSafe,
Role: RefUnwindSafe,
A: RefUnwindSafe,
<A as EndpointAddress>::Established<MessageProtocol<A, BindingReply<A, Key, Role>>>: RefUnwindSafe,
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>where
Key: UnsafeUnpin,
Role: UnsafeUnpin,
A: UnsafeUnpin,
<A as EndpointAddress>::Established<MessageProtocol<A, BindingReply<A, Key, Role>>>: UnsafeUnpin,
impl<A, Key, Role> UnwindSafe for BindingCommand<A, Key, Role>where
Key: UnwindSafe,
Role: UnwindSafe,
A: UnwindSafe,
<A as EndpointAddress>::Established<MessageProtocol<A, BindingReply<A, Key, Role>>>: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more