pub enum WriterConfig {
Shared {
writer_flush_sender: WriterFlushSender,
channels: Arc<Mutex<HashMap<u32, SharedWriter>>>,
},
LocalFlush {
writer_flush_sender: WriterFlushSender,
},
LocalNoFlush,
}Variants§
Trait Implementations§
Source§impl Clone for WriterConfig
impl Clone for WriterConfig
Source§fn clone(&self) -> WriterConfig
fn clone(&self) -> WriterConfig
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for WriterConfig
impl !RefUnwindSafe for WriterConfig
impl Send for WriterConfig
impl Sync for WriterConfig
impl Unpin for WriterConfig
impl !UnwindSafe for WriterConfig
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