Enum boxcars::FrameError
source · pub enum FrameError {
NotEnoughDataFor(&'static str),
TimeOutOfRange {
time: f32,
},
DeltaOutOfRange {
delta: f32,
},
ObjectIdOutOfRange {
obj: ObjectId,
},
MissingActor {
actor: ActorId,
},
MissingCache {
actor: ActorId,
actor_object: ObjectId,
},
MissingAttribute {
actor: ActorId,
actor_object: ObjectId,
attribute_stream: StreamId,
},
AttributeError {
actor: ActorId,
actor_object: ObjectId,
attribute_stream: StreamId,
error: AttributeError,
},
}
Variants§
NotEnoughDataFor(&'static str)
TimeOutOfRange
DeltaOutOfRange
ObjectIdOutOfRange
MissingActor
MissingCache
MissingAttribute
AttributeError
Trait Implementations§
source§impl Clone for FrameError
impl Clone for FrameError
source§fn clone(&self) -> FrameError
fn clone(&self) -> FrameError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FrameError
impl Debug for FrameError
source§impl Display for FrameError
impl Display for FrameError
source§impl Error for FrameError
impl Error for FrameError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 PartialEq for FrameError
impl PartialEq for FrameError
source§fn eq(&self, other: &FrameError) -> bool
fn eq(&self, other: &FrameError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FrameError
Auto Trait Implementations§
impl Freeze for FrameError
impl RefUnwindSafe for FrameError
impl Send for FrameError
impl Sync for FrameError
impl Unpin for FrameError
impl UnwindSafe for FrameError
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