pub enum ExtensionsCommands {
TriggerAction(TriggerAction),
LoadUnpacked(LoadUnpacked),
GetExtensions(GetExtensions),
Uninstall(Uninstall),
GetStorageItems(GetStorageItems),
RemoveStorageItems(RemoveStorageItems),
ClearStorageItems(ClearStorageItems),
SetStorageItems(SetStorageItems),
}Variants§
TriggerAction(TriggerAction)
LoadUnpacked(LoadUnpacked)
GetExtensions(GetExtensions)
Uninstall(Uninstall)
GetStorageItems(GetStorageItems)
RemoveStorageItems(RemoveStorageItems)
ClearStorageItems(ClearStorageItems)
SetStorageItems(SetStorageItems)
Implementations§
Source§impl ExtensionsCommands
impl ExtensionsCommands
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for ExtensionsCommands
impl Clone for ExtensionsCommands
Source§fn clone(&self) -> ExtensionsCommands
fn clone(&self) -> ExtensionsCommands
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExtensionsCommands
impl Debug for ExtensionsCommands
Source§impl<'de> Deserialize<'de> for ExtensionsCommands
impl<'de> Deserialize<'de> for ExtensionsCommands
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
Source§impl From<ClearStorageItems> for ExtensionsCommands
impl From<ClearStorageItems> for ExtensionsCommands
Source§fn from(v: ClearStorageItems) -> Self
fn from(v: ClearStorageItems) -> Self
Converts to this type from the input type.
Source§impl From<ExtensionsCommands> for BrowserProtocolCommands
impl From<ExtensionsCommands> for BrowserProtocolCommands
Source§fn from(v: ExtensionsCommands) -> Self
fn from(v: ExtensionsCommands) -> Self
Converts to this type from the input type.
Source§impl From<ExtensionsCommands> for Command
impl From<ExtensionsCommands> for Command
Source§fn from(v: ExtensionsCommands) -> Self
fn from(v: ExtensionsCommands) -> Self
Converts to this type from the input type.
Source§impl From<GetExtensions> for ExtensionsCommands
impl From<GetExtensions> for ExtensionsCommands
Source§fn from(v: GetExtensions) -> Self
fn from(v: GetExtensions) -> Self
Converts to this type from the input type.
Source§impl From<GetStorageItems> for ExtensionsCommands
impl From<GetStorageItems> for ExtensionsCommands
Source§fn from(v: GetStorageItems) -> Self
fn from(v: GetStorageItems) -> Self
Converts to this type from the input type.
Source§impl From<LoadUnpacked> for ExtensionsCommands
impl From<LoadUnpacked> for ExtensionsCommands
Source§fn from(v: LoadUnpacked) -> Self
fn from(v: LoadUnpacked) -> Self
Converts to this type from the input type.
Source§impl From<RemoveStorageItems> for ExtensionsCommands
impl From<RemoveStorageItems> for ExtensionsCommands
Source§fn from(v: RemoveStorageItems) -> Self
fn from(v: RemoveStorageItems) -> Self
Converts to this type from the input type.
Source§impl From<SetStorageItems> for ExtensionsCommands
impl From<SetStorageItems> for ExtensionsCommands
Source§fn from(v: SetStorageItems) -> Self
fn from(v: SetStorageItems) -> Self
Converts to this type from the input type.
Source§impl From<TriggerAction> for ExtensionsCommands
impl From<TriggerAction> for ExtensionsCommands
Source§fn from(v: TriggerAction) -> Self
fn from(v: TriggerAction) -> Self
Converts to this type from the input type.
Source§impl From<Uninstall> for ExtensionsCommands
impl From<Uninstall> for ExtensionsCommands
Source§impl PartialEq for ExtensionsCommands
impl PartialEq for ExtensionsCommands
Source§impl Serialize for ExtensionsCommands
impl Serialize for ExtensionsCommands
Source§impl TryFrom<BrowserProtocolCommands> for ExtensionsCommands
impl TryFrom<BrowserProtocolCommands> for ExtensionsCommands
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <ExtensionsCommands as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <ExtensionsCommands as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for ExtensionsCommands
impl TryFrom<Command> for ExtensionsCommands
Source§impl TryFrom<ExtensionsCommands> for ClearStorageItems
impl TryFrom<ExtensionsCommands> for ClearStorageItems
Source§type Error = ExtensionsCommands
type Error = ExtensionsCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: ExtensionsCommands,
) -> Result<Self, <ClearStorageItems as TryFrom<ExtensionsCommands>>::Error>
fn try_from( e: ExtensionsCommands, ) -> Result<Self, <ClearStorageItems as TryFrom<ExtensionsCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<ExtensionsCommands> for GetExtensions
impl TryFrom<ExtensionsCommands> for GetExtensions
Source§type Error = ExtensionsCommands
type Error = ExtensionsCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: ExtensionsCommands,
) -> Result<Self, <GetExtensions as TryFrom<ExtensionsCommands>>::Error>
fn try_from( e: ExtensionsCommands, ) -> Result<Self, <GetExtensions as TryFrom<ExtensionsCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<ExtensionsCommands> for GetStorageItems
impl TryFrom<ExtensionsCommands> for GetStorageItems
Source§type Error = ExtensionsCommands
type Error = ExtensionsCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: ExtensionsCommands,
) -> Result<Self, <GetStorageItems as TryFrom<ExtensionsCommands>>::Error>
fn try_from( e: ExtensionsCommands, ) -> Result<Self, <GetStorageItems as TryFrom<ExtensionsCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<ExtensionsCommands> for LoadUnpacked
impl TryFrom<ExtensionsCommands> for LoadUnpacked
Source§type Error = ExtensionsCommands
type Error = ExtensionsCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: ExtensionsCommands,
) -> Result<Self, <LoadUnpacked as TryFrom<ExtensionsCommands>>::Error>
fn try_from( e: ExtensionsCommands, ) -> Result<Self, <LoadUnpacked as TryFrom<ExtensionsCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<ExtensionsCommands> for RemoveStorageItems
impl TryFrom<ExtensionsCommands> for RemoveStorageItems
Source§type Error = ExtensionsCommands
type Error = ExtensionsCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: ExtensionsCommands,
) -> Result<Self, <RemoveStorageItems as TryFrom<ExtensionsCommands>>::Error>
fn try_from( e: ExtensionsCommands, ) -> Result<Self, <RemoveStorageItems as TryFrom<ExtensionsCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<ExtensionsCommands> for SetStorageItems
impl TryFrom<ExtensionsCommands> for SetStorageItems
Source§type Error = ExtensionsCommands
type Error = ExtensionsCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: ExtensionsCommands,
) -> Result<Self, <SetStorageItems as TryFrom<ExtensionsCommands>>::Error>
fn try_from( e: ExtensionsCommands, ) -> Result<Self, <SetStorageItems as TryFrom<ExtensionsCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<ExtensionsCommands> for TriggerAction
impl TryFrom<ExtensionsCommands> for TriggerAction
Source§type Error = ExtensionsCommands
type Error = ExtensionsCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: ExtensionsCommands,
) -> Result<Self, <TriggerAction as TryFrom<ExtensionsCommands>>::Error>
fn try_from( e: ExtensionsCommands, ) -> Result<Self, <TriggerAction as TryFrom<ExtensionsCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<ExtensionsCommands> for Uninstall
impl TryFrom<ExtensionsCommands> for Uninstall
Source§type Error = ExtensionsCommands
type Error = ExtensionsCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: ExtensionsCommands,
) -> Result<Self, <Uninstall as TryFrom<ExtensionsCommands>>::Error>
fn try_from( e: ExtensionsCommands, ) -> Result<Self, <Uninstall as TryFrom<ExtensionsCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for ExtensionsCommands
Auto Trait Implementations§
impl Freeze for ExtensionsCommands
impl RefUnwindSafe for ExtensionsCommands
impl Send for ExtensionsCommands
impl Sync for ExtensionsCommands
impl Unpin for ExtensionsCommands
impl UnsafeUnpin for ExtensionsCommands
impl UnwindSafe for ExtensionsCommands
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