pub struct OpenFiles { /* private fields */ }Expand description
The queue of things to open.
Implementations§
Source§impl OpenFiles
impl OpenFiles
Sourcepub fn new(waker: Waker) -> Self
pub fn new(waker: Waker) -> Self
A queue that calls waker whenever something arrives from another thread or the OS.
Sourcepub fn push_args<I, S>(&self, args: I, cwd: &Path)
pub fn push_args<I, S>(&self, args: I, cwd: &Path)
Queue what the command line names (std::env::args_os().skip(1)).
pub fn push(&self, item: Opened)
Sourcepub fn sender(&self) -> OpenSender
pub fn sender(&self) -> OpenSender
A sender for other sources (the single-instance listener).
Auto Trait Implementations§
impl !RefUnwindSafe for OpenFiles
impl !Sync for OpenFiles
impl !UnwindSafe for OpenFiles
impl Freeze for OpenFiles
impl Send for OpenFiles
impl Unpin for OpenFiles
impl UnsafeUnpin for OpenFiles
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