Struct sst::log::LogBuilder
source · pub struct LogBuilder<W: Write> { /* private fields */ }
Expand description
A LogBuilder is a non-concurrent log writer.
Implementations§
source§impl LogBuilder<File>
impl LogBuilder<File>
source§impl<W: Write> LogBuilder<W>
impl<W: Write> LogBuilder<W>
sourcepub fn from_write(options: LogOptions, write: W) -> Result<Self, Error>
pub fn from_write(options: LogOptions, write: W) -> Result<Self, Error>
Create a new LogBuilder from options and a write.
Trait Implementations§
source§impl<W: Write> Builder for LogBuilder<W>
impl<W: Write> Builder for LogBuilder<W>
Auto Trait Implementations§
impl<W> RefUnwindSafe for LogBuilder<W>where
W: RefUnwindSafe,
impl<W> Send for LogBuilder<W>where
W: Send,
impl<W> Sync for LogBuilder<W>where
W: Sync,
impl<W> Unpin for LogBuilder<W>where
W: Unpin,
impl<W> UnwindSafe for LogBuilder<W>where
W: 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