pub struct NoopHost;Trait Implementations§
Source§impl Host for NoopHost
impl Host for NoopHost
fn report(&mut self, _event: ExecutionEvent) -> Result<(), RuntimeError>
fn resolve( &mut self, _request: ResolutionRequest, ) -> Result<Option<ResolutionResponse>, RuntimeError>
fn log(&mut self, _message: String) -> Result<(), RuntimeError>
Auto Trait Implementations§
impl Freeze for NoopHost
impl RefUnwindSafe for NoopHost
impl Send for NoopHost
impl Sync for NoopHost
impl Unpin for NoopHost
impl UnsafeUnpin for NoopHost
impl UnwindSafe for NoopHost
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