Enum libfortress::FortressError
source · [−]pub enum FortressError {
IOError(Error),
CryptoError(CryptoError),
SerializationError(Error),
SyncBadUrl,
SyncApiError(ApiError),
SyncInconsistentServer,
SyncConflict,
}
Variants
IOError(Error)
CryptoError(CryptoError)
SerializationError(Error)
SyncBadUrl
SyncApiError(ApiError)
SyncInconsistentServer
SyncConflict
Trait Implementations
sourceimpl Debug for FortressError
impl Debug for FortressError
sourceimpl Display for FortressError
impl Display for FortressError
sourceimpl Error for FortressError
impl Error for FortressError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<ApiError> for FortressError
impl From<ApiError> for FortressError
sourcefn from(error: ApiError) -> FortressError
fn from(error: ApiError) -> FortressError
Converts to this type from the input type.
sourceimpl From<CryptoError> for FortressError
impl From<CryptoError> for FortressError
sourcefn from(error: CryptoError) -> FortressError
fn from(error: CryptoError) -> FortressError
Converts to this type from the input type.
sourceimpl From<Error> for FortressError
impl From<Error> for FortressError
sourcefn from(error: Error) -> FortressError
fn from(error: Error) -> FortressError
Converts to this type from the input type.
sourceimpl From<Error> for FortressError
impl From<Error> for FortressError
sourcefn from(error: Error) -> FortressError
fn from(error: Error) -> FortressError
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for FortressError
impl Send for FortressError
impl Sync for FortressError
impl Unpin for FortressError
impl !UnwindSafe for FortressError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more