pub enum OpfsSAHError {
Show 17 variants
Vfs(RegisterVfsError),
ImportDb(ImportDbError),
NotSuported,
GetDirHandle(JsValue),
GetFileHandle(JsValue),
CreateSyncAccessHandle(JsValue),
IterHandle(JsValue),
GetPath(JsValue),
RemoveEntity(JsValue),
GetSize(JsValue),
Read(JsValue),
Write(JsValue),
Flush(JsValue),
Truncate(JsValue),
Reflect(JsValue),
Generic(String),
Custom(String),
}
Variants§
Vfs(RegisterVfsError)
ImportDb(ImportDbError)
NotSuported
GetDirHandle(JsValue)
GetFileHandle(JsValue)
CreateSyncAccessHandle(JsValue)
IterHandle(JsValue)
GetPath(JsValue)
RemoveEntity(JsValue)
GetSize(JsValue)
Read(JsValue)
Write(JsValue)
Flush(JsValue)
Truncate(JsValue)
Reflect(JsValue)
Generic(String)
Custom(String)
👎Deprecated: Has been renamed to OpfsSAHError::Generic
Trait Implementations§
Source§impl Debug for OpfsSAHError
impl Debug for OpfsSAHError
Source§impl Display for OpfsSAHError
impl Display for OpfsSAHError
Source§impl Error for OpfsSAHError
impl Error for OpfsSAHError
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<ImportDbError> for OpfsSAHError
impl From<ImportDbError> for OpfsSAHError
Source§fn from(source: ImportDbError) -> Self
fn from(source: ImportDbError) -> Self
Converts to this type from the input type.
Source§impl From<RegisterVfsError> for OpfsSAHError
impl From<RegisterVfsError> for OpfsSAHError
Source§fn from(source: RegisterVfsError) -> Self
fn from(source: RegisterVfsError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OpfsSAHError
impl RefUnwindSafe for OpfsSAHError
impl !Send for OpfsSAHError
impl !Sync for OpfsSAHError
impl Unpin for OpfsSAHError
impl UnwindSafe for OpfsSAHError
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