pub struct McapWriter { /* private fields */ }Expand description
MCAP file writer for recording node I/O.
Implementations§
Source§impl McapWriter
impl McapWriter
pub fn create(path: impl AsRef<Path>) -> RobotResult<Self>
pub fn write_message( &mut self, topic: &str, schema_name: &str, encoding: &str, data: &[u8], log_time: Timestamp, ) -> RobotResult<()>
pub fn finish(self) -> RobotResult<()>
Auto Trait Implementations§
impl !Sync for McapWriter
impl !UnwindSafe for McapWriter
impl Freeze for McapWriter
impl RefUnwindSafe for McapWriter
impl Send for McapWriter
impl Unpin for McapWriter
impl UnsafeUnpin for McapWriter
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