Struct archivist_lib::logs::debuglog::DebugLogBridge
source · 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, stats: Arc<LogStreamStats>) -> Self
pub fn existing_logs(&mut self) -> Result<Vec<DebugLogStoredMessage>, Status>
pub fn listen(self) -> impl Stream<Item = Result<DebugLogStoredMessage, Status>>
Auto Trait Implementations§
impl<K> Freeze for DebugLogBridge<K>where
K: Freeze,
impl<K> !RefUnwindSafe for DebugLogBridge<K>
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>
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