pub struct DebugEngine { /* private fields */ }Expand description
Wrapper around an Engine that logs all RPC operations
Implementations§
Trait Implementations§
Source§impl Engine for DebugEngine
impl Engine for DebugEngine
fn send_message<'life0, 'life1, 'async_trait>(
&'life0 mut self,
method: &'life1 str,
params: Value,
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn send_message_cbor<'life0, 'life1, 'async_trait>(
&'life0 mut self,
method: &'life1 str,
params: CborValue,
) -> Pin<Box<dyn Future<Output = Result<CborValue>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for DebugEngine
impl !RefUnwindSafe for DebugEngine
impl Send for DebugEngine
impl Sync for DebugEngine
impl Unpin for DebugEngine
impl UnsafeUnpin for DebugEngine
impl !UnwindSafe for DebugEngine
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