pub enum ReplayLogFileError {
Io {
path: PathBuf,
source: Error,
},
InvalidFormat(&'static str),
UnsupportedVersion(u16),
EncodeTerm(EncodeError),
DecodeTerm(DecodeError),
Compression(Error),
}Expand description
Error raised while saving or loading a replay log file.
Variants§
Io
InvalidFormat(&'static str)
UnsupportedVersion(u16)
EncodeTerm(EncodeError)
DecodeTerm(DecodeError)
Compression(Error)
Trait Implementations§
Source§impl Debug for ReplayLogFileError
impl Debug for ReplayLogFileError
Source§impl Display for ReplayLogFileError
impl Display for ReplayLogFileError
Source§impl Error for ReplayLogFileError
impl Error for ReplayLogFileError
1.30.0 · 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()
Auto Trait Implementations§
impl !RefUnwindSafe for ReplayLogFileError
impl !UnwindSafe for ReplayLogFileError
impl Freeze for ReplayLogFileError
impl Send for ReplayLogFileError
impl Sync for ReplayLogFileError
impl Unpin for ReplayLogFileError
impl UnsafeUnpin for ReplayLogFileError
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