pub struct OpenSender { /* private fields */ }Expand description
A handle that queues into an OpenFiles from any thread.
Implementations§
Source§impl OpenSender
impl OpenSender
Sourcepub fn send(&self, items: impl IntoIterator<Item = Opened>) -> bool
pub fn send(&self, items: impl IntoIterator<Item = Opened>) -> bool
Queue items and wake the app once. Returns false when the queue is gone.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for OpenSender
impl !UnwindSafe for OpenSender
impl Freeze for OpenSender
impl Send for OpenSender
impl Sync for OpenSender
impl Unpin for OpenSender
impl UnsafeUnpin for OpenSender
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