pub struct Lazy { /* private fields */ }Expand description
An embedder made on first use, so a large vector file is read when memory is first asked for, off the daemon’s event loop, and not when the settings are read. A failure to make it is kept and returned by every call.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Lazy
impl !RefUnwindSafe for Lazy
impl !UnwindSafe for Lazy
impl Forget for Lazy
impl Move for Lazy
impl Send for Lazy
impl Sync for Lazy
impl Unpin for Lazy
impl UnsafeUnpin for Lazywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const dyn Fn() -> Result<Box<dyn Embedder>, Error> + Sync + Send is !null: UnsafeUnpin,
PhantomData<dyn Fn() -> Result<Box<dyn Embedder>, Error> + Sync + Send>: UnsafeUnpin,
Align4<u32>: UnsafeUnpin,
*const dyn Embedder is !null: UnsafeUnpin,
PhantomData<dyn Embedder>: UnsafeUnpin,
PhantomData<Result<Box<dyn Embedder>, Error>>: 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