pub struct BroadcastLogSink { /* private fields */ }
Expand description
Log sink that can broadcast and replay log events. Used for transmitting
logs from the singleton to all clients. This should be created and injected
into other services, like the tunnel, before start_singleton_server
is called.
Implementations§
Trait Implementations§
Source§impl Clone for BroadcastLogSink
impl Clone for BroadcastLogSink
Source§fn clone(&self) -> BroadcastLogSink
fn clone(&self) -> BroadcastLogSink
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for BroadcastLogSink
impl Default for BroadcastLogSink
Auto Trait Implementations§
impl Freeze for BroadcastLogSink
impl !RefUnwindSafe for BroadcastLogSink
impl Send for BroadcastLogSink
impl Sync for BroadcastLogSink
impl Unpin for BroadcastLogSink
impl !UnwindSafe for BroadcastLogSink
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