pub enum Process<'a> {
SingleFile {
child: Child,
command: Command,
},
MultiFile {
client: &'a mut Client,
key: Key,
},
}
Expand description
A literal driver process.
Variants§
SingleFile
A spawned processes to handle a single file
Fields
MultiFile
A multi-file process which is launched once to handle one or more files by using a custom IO protocol.
Auto Trait Implementations§
impl<'a> Freeze for Process<'a>
impl<'a> !RefUnwindSafe for Process<'a>
impl<'a> Send for Process<'a>
impl<'a> Sync for Process<'a>
impl<'a> Unpin for Process<'a>
impl<'a> !UnwindSafe for Process<'a>
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