struct AsyncReply {
crypto: AsyncCrypto,
message_id: u64,
async_id: u64,
outbound: Sender<Vec<u8>>,
cancel: Receiver<Status>,
}Expand description
Plumbing every async-deferred command reply (LOCK / CHANGE_NOTIFY) shares: crypto material to sign/seal the final frame, the request’s identifiers, the outbound queue to send it on, and its cancellation signal.
Fields§
§crypto: AsyncCrypto§message_id: u64§async_id: u64§outbound: Sender<Vec<u8>>§cancel: Receiver<Status>Auto Trait Implementations§
impl !RefUnwindSafe for AsyncReply
impl !UnwindSafe for AsyncReply
impl Freeze for AsyncReply
impl Send for AsyncReply
impl Sync for AsyncReply
impl Unpin for AsyncReply
impl UnsafeUnpin for AsyncReply
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