#[non_exhaustive]pub enum TabStatus {
Loading,
Complete,
Unloaded,
}Expand description
The loading status of a tab.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Loading
The tab is currently loading.
Complete
The tab has finished loading.
Unloaded
The tab has been discarded (unloaded from memory). Chrome-only.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TabStatus
impl<'de> Deserialize<'de> for TabStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for TabStatus
impl Eq for TabStatus
impl StructuralPartialEq for TabStatus
Auto Trait Implementations§
impl Freeze for TabStatus
impl RefUnwindSafe for TabStatus
impl Send for TabStatus
impl Sync for TabStatus
impl Unpin for TabStatus
impl UnsafeUnpin for TabStatus
impl UnwindSafe for TabStatus
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