pub struct McapLog { /* private fields */ }Expand description
Read-only handle to an MCAP log file.
Implementations§
Source§impl McapLog
impl McapLog
pub fn open(path: impl AsRef<Path>) -> RobotResult<Self>
pub fn report(&self) -> &InspectReport
pub fn path(&self) -> &Path
pub fn messages(&self) -> RobotResult<Vec<McapRecord>>
pub fn topic_messages(&self, topic: &str) -> RobotResult<Vec<McapRecord>>
Auto Trait Implementations§
impl Freeze for McapLog
impl RefUnwindSafe for McapLog
impl Send for McapLog
impl Sync for McapLog
impl Unpin for McapLog
impl UnsafeUnpin for McapLog
impl UnwindSafe for McapLog
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