pub enum SyncError {
InvalidConfiguration(String),
EpisodeLimitExceeded {
resource: &'static str,
requested: u64,
current: u64,
limit: u64,
},
Missing(String),
NoTransformPath {
from: String,
to: String,
},
Records(RecordsError),
Spatial(SpatialError),
Io(String),
Mcap(String),
}Expand description
Failures in time sync, frame graphs, and replay.
Variants§
InvalidConfiguration(String)
Invalid configuration.
EpisodeLimitExceeded
A bounded episode would exceed one of its configured limits.
Fields
Missing(String)
Missing frame or topic.
NoTransformPath
No transform path between frames.
Records(RecordsError)
Wrapped records error.
Spatial(SpatialError)
Wrapped spatial error.
Io(String)
Filesystem / IO failure.
Mcap(String)
MCAP codec failure.
Trait Implementations§
Source§impl Error for SyncError
impl Error for SyncError
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<RecordsError> for SyncError
impl From<RecordsError> for SyncError
Source§fn from(source: RecordsError) -> Self
fn from(source: RecordsError) -> Self
Converts to this type from the input type.
Source§impl From<SpatialError> for SyncError
impl From<SpatialError> for SyncError
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 SyncError
impl RefUnwindSafe for SyncError
impl Send for SyncError
impl Sync for SyncError
impl Unpin for SyncError
impl UnsafeUnpin for SyncError
impl UnwindSafe for SyncError
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