pub struct MmapUnifiedLoggerWrite { /* private fields */ }Expand description
A write side of the datalogger.
Implementations§
Trait Implementations§
Source§impl Drop for MmapUnifiedLoggerWrite
impl Drop for MmapUnifiedLoggerWrite
Source§impl UnifiedLogWrite<MmapSectionStorage> for MmapUnifiedLoggerWrite
impl UnifiedLogWrite<MmapSectionStorage> for MmapUnifiedLoggerWrite
Source§fn add_section(
&mut self,
entry_type: UnifiedLogType,
requested_section_size: usize,
) -> CuResult<SectionHandle<MmapSectionStorage>>
fn add_section( &mut self, entry_type: UnifiedLogType, requested_section_size: usize, ) -> CuResult<SectionHandle<MmapSectionStorage>>
The returned slice is section_size or greater.
Source§fn flush_section(&mut self, section: &mut SectionHandle<MmapSectionStorage>)
fn flush_section(&mut self, section: &mut SectionHandle<MmapSectionStorage>)
Flush the given section to the underlying storage.
Source§fn status(&self) -> UnifiedLogStatus
fn status(&self) -> UnifiedLogStatus
Returns the current status of the unified logger.
Auto Trait Implementations§
impl Freeze for MmapUnifiedLoggerWrite
impl RefUnwindSafe for MmapUnifiedLoggerWrite
impl Send for MmapUnifiedLoggerWrite
impl Sync for MmapUnifiedLoggerWrite
impl Unpin for MmapUnifiedLoggerWrite
impl UnwindSafe for MmapUnifiedLoggerWrite
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