pub struct Runtime {
pub cdp: Cdp,
pub endpoint: String,
pub context: Option<String>,
pub download_dir: Option<PathBuf>,
/* private fields */
}Fields§
§cdp: Cdp§endpoint: String§context: Option<String>§download_dir: Option<PathBuf>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Runtime
impl !UnwindSafe for Runtime
impl Forget for Runtime
impl Freeze for Runtimewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
*const ArcInner<Documents> is !null: Freeze,
PhantomData<ArcInner<Documents>>: Freeze,
I32NotAllOnes: Freeze,
*const Path is !null: Freeze,
PhantomData<Path>: Freeze,
*const ArcInner<Mutex<()>> is !null: Freeze,
PhantomData<ArcInner<Mutex<()>>>: Freeze,
*const ArcInner<Mutex<OwnedChild>> is !null: Freeze,
PhantomData<ArcInner<Mutex<OwnedChild>>>: Freeze,
*const ArcInner<Atomic<bool>> is !null: Freeze,
PhantomData<ArcInner<Atomic<bool>>>: Freeze,
*const ArcInner<Inner> is !null: Freeze,
PhantomData<ArcInner<Inner>>: Freeze,
*const ArcInner<Packet<'static, ()>> is !null: Freeze,
PhantomData<ArcInner<Packet<'static, ()>>>: Freeze,
*const ArcInner<Mutex<State>> is !null: Freeze,
PhantomData<ArcInner<Mutex<State>>>: Freeze,
*const [u8; 4096] is !null: Freeze,
PhantomData<[u8; 4096]>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for Runtime
impl Send for Runtimewhere
RawVecInner: Send,
Arc<Documents>: Send,
I32NotAllOnes: Send,
BoxRaw<Path>: Send,
Arc<Mutex<()>>: Send,
Arc<Mutex<OwnedChild>>: Send,
Arc<Atomic<bool>>: Send,
JoinHandle<()>: Send,
Arc<Mutex<State>>: Send,
BoxRaw<[u8; 4096]>: Send,
NodeRef<Owned, String, Value, LeafOrInternal>: Send,
BoxRaw<(String, Value)>: Send,
impl Sync for Runtimewhere
RawVecInner: Sync,
Arc<Documents>: Sync,
I32NotAllOnes: Sync,
BoxRaw<Path>: Sync,
Arc<Mutex<()>>: Sync,
Arc<Mutex<OwnedChild>>: Sync,
Arc<Atomic<bool>>: Sync,
JoinHandle<()>: Sync,
Arc<Mutex<State>>: Sync,
BoxRaw<[u8; 4096]>: Sync,
NodeRef<Owned, String, Value, LeafOrInternal>: Sync,
BoxRaw<(String, Value)>: Sync,
impl Unpin for Runtimewhere
*const u8 is !null: Unpin,
Arc<Documents>: Unpin,
I32NotAllOnes: Unpin,
Box<Path>: Unpin,
Arc<Mutex<()>>: Unpin,
Arc<Mutex<OwnedChild>>: Unpin,
Arc<Atomic<bool>>: Unpin,
Arc<Inner, System>: Unpin,
Arc<Packet<'static, ()>>: Unpin,
Arc<Mutex<State>>: Unpin,
Box<[u8; 4096]>: Unpin,
*const LeafNode<String, Value> is !null: Unpin,
Box<(String, Value)>: Unpin,
impl UnsafeUnpin for Runtimewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const ArcInner<Documents> is !null: UnsafeUnpin,
PhantomData<ArcInner<Documents>>: UnsafeUnpin,
I32NotAllOnes: UnsafeUnpin,
*const Path is !null: UnsafeUnpin,
PhantomData<Path>: UnsafeUnpin,
*const ArcInner<Mutex<()>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Mutex<()>>>: UnsafeUnpin,
*const ArcInner<Mutex<OwnedChild>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Mutex<OwnedChild>>>: UnsafeUnpin,
*const ArcInner<Atomic<bool>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Atomic<bool>>>: UnsafeUnpin,
*const ArcInner<Inner> is !null: UnsafeUnpin,
PhantomData<ArcInner<Inner>>: UnsafeUnpin,
*const ArcInner<Packet<'static, ()>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Packet<'static, ()>>>: UnsafeUnpin,
*const ArcInner<Mutex<State>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Mutex<State>>>: UnsafeUnpin,
*const [u8; 4096] is !null: UnsafeUnpin,
PhantomData<[u8; 4096]>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: 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
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.