pub enum ResourceManagerError {
Io(Error),
Fluent(FluentError),
}Expand description
Errors generated during the process of retrieving the localization resources
Variants§
Io(Error)
Error while reading the resource file
Fluent(FluentError)
Error while trying to add a resource to the bundle
Trait Implementations§
Source§impl Debug for ResourceManagerError
impl Debug for ResourceManagerError
Source§impl Display for ResourceManagerError
impl Display for ResourceManagerError
Source§impl Error for ResourceManagerError
impl Error for ResourceManagerError
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<Error> for ResourceManagerError
impl From<Error> for ResourceManagerError
Source§impl From<FluentError> for ResourceManagerError
impl From<FluentError> for ResourceManagerError
Source§fn from(source: FluentError) -> Self
fn from(source: FluentError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ResourceManagerError
impl !RefUnwindSafe for ResourceManagerError
impl Send for ResourceManagerError
impl Sync for ResourceManagerError
impl Unpin for ResourceManagerError
impl !UnwindSafe for ResourceManagerError
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