pub enum LayeredFilesystemError {
Show 14 variants
NoLayers,
NoWriteableLayers,
FileNotFound(String),
ReadError(String, String),
WriteError(String, String),
UnsupportedGame,
PatternError(PatternError),
LocalizationError(LocalizationError),
IOError(Error),
CompressionError(CompressionError),
ArchiveError(ArchiveError),
TextArchiveError(TextArchiveError),
TextureParseError(TextureParseError),
ArcError(ArcError),
}
Variants§
NoLayers
NoWriteableLayers
FileNotFound(String)
ReadError(String, String)
WriteError(String, String)
UnsupportedGame
PatternError(PatternError)
LocalizationError(LocalizationError)
IOError(Error)
CompressionError(CompressionError)
ArchiveError(ArchiveError)
TextArchiveError(TextArchiveError)
TextureParseError(TextureParseError)
ArcError(ArcError)
Trait Implementations§
Source§impl Debug for LayeredFilesystemError
impl Debug for LayeredFilesystemError
Source§impl Display for LayeredFilesystemError
impl Display for LayeredFilesystemError
Source§impl Error for LayeredFilesystemError
impl Error for LayeredFilesystemError
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<ArcError> for LayeredFilesystemError
impl From<ArcError> for LayeredFilesystemError
Source§impl From<ArchiveError> for LayeredFilesystemError
impl From<ArchiveError> for LayeredFilesystemError
Source§fn from(source: ArchiveError) -> Self
fn from(source: ArchiveError) -> Self
Converts to this type from the input type.
Source§impl From<CompressionError> for LayeredFilesystemError
impl From<CompressionError> for LayeredFilesystemError
Source§fn from(source: CompressionError) -> Self
fn from(source: CompressionError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for LayeredFilesystemError
impl From<Error> for LayeredFilesystemError
Source§impl From<LocalizationError> for LayeredFilesystemError
impl From<LocalizationError> for LayeredFilesystemError
Source§fn from(source: LocalizationError) -> Self
fn from(source: LocalizationError) -> Self
Converts to this type from the input type.
Source§impl From<PatternError> for LayeredFilesystemError
impl From<PatternError> for LayeredFilesystemError
Source§fn from(source: PatternError) -> Self
fn from(source: PatternError) -> Self
Converts to this type from the input type.
Source§impl From<TextArchiveError> for LayeredFilesystemError
impl From<TextArchiveError> for LayeredFilesystemError
Source§fn from(source: TextArchiveError) -> Self
fn from(source: TextArchiveError) -> Self
Converts to this type from the input type.
Source§impl From<TextureParseError> for LayeredFilesystemError
impl From<TextureParseError> for LayeredFilesystemError
Source§fn from(source: TextureParseError) -> Self
fn from(source: TextureParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LayeredFilesystemError
impl !RefUnwindSafe for LayeredFilesystemError
impl Send for LayeredFilesystemError
impl Sync for LayeredFilesystemError
impl Unpin for LayeredFilesystemError
impl !UnwindSafe for LayeredFilesystemError
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