pub enum FolioError {
Io(Error),
Parse {
offset: u64,
message: String,
},
InvalidObject(String),
Encryption(String),
Signature(String),
InvalidArgument(String),
UnsupportedFeature(String),
Oracle(String),
}Expand description
The primary error type for all Folio operations.
Variants§
Io(Error)
Parse
InvalidObject(String)
Encryption(String)
Signature(String)
InvalidArgument(String)
UnsupportedFeature(String)
Oracle(String)
Trait Implementations§
Source§impl Debug for FolioError
impl Debug for FolioError
Source§impl Display for FolioError
impl Display for FolioError
Source§impl Error for FolioError
impl Error for FolioError
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()
Auto Trait Implementations§
impl Freeze for FolioError
impl !RefUnwindSafe for FolioError
impl Send for FolioError
impl Sync for FolioError
impl Unpin for FolioError
impl UnsafeUnpin for FolioError
impl !UnwindSafe for FolioError
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