pub struct OneshotAck { /* private fields */ }Expand description
Lightweight one-shot acknowledgment channel.
Replaces crossbeam_channel::bounded(1) used for Sync and Clear
command round-trips. Works in both std and no_std environments.
The caller creates an Arc<OneshotAck>, sends it in a Command, and
blocks on wait(). The Daemon calls signal() after processing.
Implementations§
Source§impl OneshotAck
impl OneshotAck
Auto Trait Implementations§
impl !Freeze for OneshotAck
impl RefUnwindSafe for OneshotAck
impl Send for OneshotAck
impl Sync for OneshotAck
impl Unpin for OneshotAck
impl UnsafeUnpin for OneshotAck
impl UnwindSafe for OneshotAck
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