pub struct DebugLogBridge<K: DebugLog> { /* private fields */ }
Implementations§
Source§impl<K: DebugLog> DebugLogBridge<K>
impl<K: DebugLog> DebugLogBridge<K>
pub fn create(debug_log: K) -> Self
pub fn existing_logs(&mut self) -> Result<Vec<StoredMessage>, Status>
pub fn listen(self) -> impl Stream<Item = Result<StoredMessage, Status>>
Auto Trait Implementations§
impl<K> Freeze for DebugLogBridge<K>where
K: Freeze,
impl<K> RefUnwindSafe for DebugLogBridge<K>where
K: RefUnwindSafe,
impl<K> Send for DebugLogBridge<K>where
K: Send,
impl<K> Sync for DebugLogBridge<K>where
K: Sync,
impl<K> Unpin for DebugLogBridge<K>where
K: Unpin,
impl<K> UnwindSafe for DebugLogBridge<K>where
K: UnwindSafe,
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