pub enum TabError {
ProcessLimitReached,
ProcessAlreadyExists,
ProcessNotFound,
InvalidState {
expected: &'static str,
},
CapabilityDenied {
capability: &'static str,
},
ResourceLimitViolation {
message: String,
},
ScriptError {
message: String,
},
}Expand description
Errors from tab process isolation
Variants§
ProcessLimitReached
Maximum process limit reached
ProcessAlreadyExists
Process already exists for this tab
ProcessNotFound
No process found for the given tab
InvalidState
Tab is not in the expected state
Fields
§
expected: &'static strCapabilityDenied
A capability is not permitted
Fields
§
capability: &'static strResourceLimitViolation
A resource limit was violated
Fields
§
message: StringScriptError
JavaScript execution failed
Fields
§
message: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for TabError
impl RefUnwindSafe for TabError
impl Send for TabError
impl Sync for TabError
impl Unpin for TabError
impl UnwindSafe for TabError
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)