pub enum MobileError {
Show 15 variants
BatteryMonitoringNotSupported,
BatteryReadError(String),
NetworkOptimizationError(String),
CompressionError(String),
DecompressionError(String),
BackgroundTaskError(String),
StorageError(String),
CacheError(String),
MemoryPressureError(String),
PlatformError(String),
InvalidConfiguration(String),
FeatureNotAvailable(String),
IoError(Error),
SerializationError(Error),
CoreError(String),
}Expand description
Errors that can occur in mobile-enhanced operations
Variants§
BatteryMonitoringNotSupported
Battery monitoring is not supported on this platform
BatteryReadError(String)
Failed to read battery information
NetworkOptimizationError(String)
Network optimization failed
CompressionError(String)
Compression failed
DecompressionError(String)
Decompression failed
BackgroundTaskError(String)
Background task scheduling failed
StorageError(String)
Storage operation failed
CacheError(String)
Cache operation failed
MemoryPressureError(String)
Memory pressure handling failed
PlatformError(String)
Platform-specific operation failed
InvalidConfiguration(String)
Invalid configuration
FeatureNotAvailable(String)
Feature not available
IoError(Error)
I/O error
SerializationError(Error)
Serialization error
CoreError(String)
Core library error
Trait Implementations§
Source§impl Debug for MobileError
impl Debug for MobileError
Source§impl Display for MobileError
impl Display for MobileError
Source§impl Error for MobileError
impl Error for MobileError
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 MobileError
impl From<Error> for MobileError
Source§impl From<Error> for MobileError
impl From<Error> for MobileError
Source§impl From<OxiGdalError> for MobileError
impl From<OxiGdalError> for MobileError
Source§fn from(err: OxiGdalError) -> Self
fn from(err: OxiGdalError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MobileError
impl !RefUnwindSafe for MobileError
impl Send for MobileError
impl Sync for MobileError
impl Unpin for MobileError
impl UnsafeUnpin for MobileError
impl !UnwindSafe for MobileError
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