Struct ipc_queue::AsyncSender
source · pub struct AsyncSender<T: 'static, S> { /* private fields */ }
Implementations§
source§impl<T: Transmittable, S: AsyncSynchronizer> AsyncSender<T, S>
impl<T: Transmittable, S: AsyncSynchronizer> AsyncSender<T, S>
pub async fn send(&self, val: Identified<T>) -> Result<(), SendError>
sourcepub fn into_descriptor_guard(self) -> DescriptorGuard<T>
pub fn into_descriptor_guard(self) -> DescriptorGuard<T>
Consumes self
and returns a DescriptorGuard.
The returned guard can be used to make FifoDescriptor
s that remain
valid as long as the guard is not dropped.
Trait Implementations§
source§impl<T, S: Clone> Clone for AsyncSender<T, S>
impl<T, S: Clone> Clone for AsyncSender<T, S>
impl<T: Send, S: Send> Send for AsyncSender<T, S>
impl<T: Send, S: Sync> Sync for AsyncSender<T, S>
Auto Trait Implementations§
impl<T, S> Freeze for AsyncSender<T, S>where
S: Freeze,
impl<T, S> !RefUnwindSafe for AsyncSender<T, S>
impl<T, S> Unpin for AsyncSender<T, S>where
S: Unpin,
impl<T, S> !UnwindSafe for AsyncSender<T, S>
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