pub enum Start {
Process(Launch),
Native(Box<dyn NativeBackend>),
}Expand description
What a backend runs as: a process, or in-tree code on a thread (crate::native).
Variants§
Process(Launch)
Native(Box<dyn NativeBackend>)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Start
impl !Sync for Start
impl !UnwindSafe for Start
impl Forget for Start
impl Freeze for Startwhere
*const u8 is !null: Freeze,
PhantomData<OsString>: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
PhantomData<String>: Freeze,
*const dyn NativeBackend is !null: Freeze,
PhantomData<dyn NativeBackend>: Freeze,
impl Move for Start
impl Send for Start
impl Unpin for Start
impl UnsafeUnpin for Startwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<OsString>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const dyn NativeBackend is !null: UnsafeUnpin,
PhantomData<dyn NativeBackend>: UnsafeUnpin,
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