pub enum Rosbag2Error {
Sqlite(Error),
InvalidBag(String),
Unsupported(String),
Cdr(RuntimeError),
Records(RecordsError),
Core(SpatialError),
}Expand description
Failures while inspecting or streaming a rosbag2 SQLite bag.
Variants§
Sqlite(Error)
SQLite storage failure.
InvalidBag(String)
The file is not a supported rosbag2 SQLite database.
Unsupported(String)
The selected topic or serialization is outside this adapter’s scope.
Cdr(RuntimeError)
PointCloud2 CDR decoding failure.
Records(RecordsError)
Bounded-record contract failure.
Core(SpatialError)
Core point-cloud construction failure.
Trait Implementations§
Source§impl Debug for Rosbag2Error
impl Debug for Rosbag2Error
Source§impl Display for Rosbag2Error
impl Display for Rosbag2Error
Source§impl Error for Rosbag2Error
impl Error for Rosbag2Error
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<Error> for Rosbag2Error
impl From<Error> for Rosbag2Error
Source§impl From<RecordsError> for Rosbag2Error
impl From<RecordsError> for Rosbag2Error
Source§fn from(source: RecordsError) -> Self
fn from(source: RecordsError) -> Self
Converts to this type from the input type.
Source§impl From<RuntimeError> for Rosbag2Error
impl From<RuntimeError> for Rosbag2Error
Source§fn from(source: RuntimeError) -> Self
fn from(source: RuntimeError) -> Self
Converts to this type from the input type.
Source§impl From<SpatialError> for Rosbag2Error
impl From<SpatialError> for Rosbag2Error
Source§fn from(source: SpatialError) -> Self
fn from(source: SpatialError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Rosbag2Error
impl !RefUnwindSafe for Rosbag2Error
impl Send for Rosbag2Error
impl Sync for Rosbag2Error
impl Unpin for Rosbag2Error
impl UnsafeUnpin for Rosbag2Error
impl !UnwindSafe for Rosbag2Error
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