pub enum InGameTimeError {
InsufficientlyLongIterator,
ByteHandlerError(ByteHandlerError),
}Expand description
Errors that can occur while deserializing an InGameTime.
Variants§
InsufficientlyLongIterator
The input iterator did not contain enough bytes to extract a time value.
ByteHandlerError(ByteHandlerError)
A ByteHandler operation failed.
Trait Implementations§
Source§impl Debug for InGameTimeError
impl Debug for InGameTimeError
Source§impl Display for InGameTimeError
impl Display for InGameTimeError
Source§impl Error for InGameTimeError
impl Error for InGameTimeError
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<ByteHandlerError> for InGameTimeError
impl From<ByteHandlerError> for InGameTimeError
Source§fn from(source: ByteHandlerError) -> Self
fn from(source: ByteHandlerError) -> Self
Converts to this type from the input type.
Source§fn from(source: InGameTimeError) -> Self
fn from(source: InGameTimeError) -> Self
Converts to this type from the input type.
Source§impl From<InGameTimeError> for HeaderError
impl From<InGameTimeError> for HeaderError
Source§fn from(source: InGameTimeError) -> Self
fn from(source: InGameTimeError) -> Self
Converts to this type from the input type.
Source§fn from(source: InGameTimeError) -> Self
fn from(source: InGameTimeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InGameTimeError
impl RefUnwindSafe for InGameTimeError
impl Send for InGameTimeError
impl Sync for InGameTimeError
impl Unpin for InGameTimeError
impl UnsafeUnpin for InGameTimeError
impl UnwindSafe for InGameTimeError
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