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
Fields
time: f32
DeltaOutOfRange
Fields
delta: f32
ObjectIdOutOfRange
Fields
obj: ObjectId
MissingActor
Fields
actor: ActorId
MissingCache
MissingAttribute
AttributeError
Trait Implementations
sourceimpl Clone for FrameError
impl Clone for FrameError
sourcefn clone(&self) -> FrameError
fn clone(&self) -> FrameError
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FrameError
impl Debug for FrameError
sourceimpl Display for FrameError
impl Display for FrameError
sourceimpl Error for FrameError
impl Error for FrameError
sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl PartialEq<FrameError> for FrameError
impl PartialEq<FrameError> for FrameError
sourcefn eq(&self, other: &FrameError) -> bool
fn eq(&self, other: &FrameError) -> bool
impl StructuralPartialEq for FrameError
Auto Trait Implementations
impl RefUnwindSafe for FrameError
impl Send for FrameError
impl Sync for FrameError
impl Unpin for FrameError
impl UnwindSafe for FrameError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more