pub enum WebsiteDataError {
MissingIdentity,
InvalidIdentity,
Unpackaged,
IdentityMismatch,
Unsupported,
}Expand description
Failure to establish an app-owned persistent browser-data boundary.
Variants§
MissingIdentity
Persistence requires an explicit identity.
InvalidIdentity
The identity cannot safely name app-owned storage.
Unpackaged
The process is not running as the executable of a real macOS .app bundle.
IdentityMismatch
The requested identity does not own the running application bundle.
Unsupported
No safe native-owned persistent store is available on this platform.
Trait Implementations§
Source§impl Debug for WebsiteDataError
impl Debug for WebsiteDataError
Source§impl Display for WebsiteDataError
impl Display for WebsiteDataError
impl Eq for WebsiteDataError
Source§impl Error for WebsiteDataError
impl Error for WebsiteDataError
1.30.0 · 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<WebsiteDataError> for DesktopError
impl From<WebsiteDataError> for DesktopError
Source§fn from(source: WebsiteDataError) -> Self
fn from(source: WebsiteDataError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WebsiteDataError
impl PartialEq for WebsiteDataError
impl StructuralPartialEq for WebsiteDataError
Auto Trait Implementations§
impl Freeze for WebsiteDataError
impl RefUnwindSafe for WebsiteDataError
impl Send for WebsiteDataError
impl Sync for WebsiteDataError
impl Unpin for WebsiteDataError
impl UnsafeUnpin for WebsiteDataError
impl UnwindSafe for WebsiteDataError
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