pub struct BlfWriter { /* private fields */ }Implementations§
Source§impl BlfWriter
impl BlfWriter
pub fn create<P: AsRef<Path>>(path: P) -> Result<Self>
pub fn create_with_level<P: AsRef<Path>>( path: P, compression_level: i32, ) -> Result<Self>
pub fn on_message_received(&mut self, msg: &Message) -> Result<()>
pub fn flush(&mut self) -> Result<()>
pub fn finish(&mut self) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BlfWriter
impl RefUnwindSafe for BlfWriter
impl Send for BlfWriter
impl Sync for BlfWriter
impl Unpin for BlfWriter
impl UnsafeUnpin for BlfWriter
impl UnwindSafe for BlfWriter
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