pub enum AeroSyncError {
FileIo(Error),
Network(String),
Storage {
message: String,
},
Cancelled,
InvalidConfig(String),
Protocol(String),
System(String),
Unknown(String),
Auth(String),
Config(String),
TomlParse(String),
}Variants§
FileIo(Error)
Network(String)
Storage
Cancelled
InvalidConfig(String)
Protocol(String)
System(String)
Unknown(String)
Auth(String)
Config(String)
TomlParse(String)
Trait Implementations§
Source§impl Debug for AeroSyncError
impl Debug for AeroSyncError
Source§impl Display for AeroSyncError
impl Display for AeroSyncError
Source§impl Error for AeroSyncError
impl Error for AeroSyncError
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 AeroSyncError
impl From<Error> for AeroSyncError
Source§impl From<Error> for AeroSyncError
impl From<Error> for AeroSyncError
Auto Trait Implementations§
impl Freeze for AeroSyncError
impl !RefUnwindSafe for AeroSyncError
impl Send for AeroSyncError
impl Sync for AeroSyncError
impl Unpin for AeroSyncError
impl UnsafeUnpin for AeroSyncError
impl !UnwindSafe for AeroSyncError
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