pub enum TetheringCommands {
Bind(Bind),
Unbind(Unbind),
}Variants§
Implementations§
Source§impl TetheringCommands
impl TetheringCommands
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for TetheringCommands
impl Clone for TetheringCommands
Source§fn clone(&self) -> TetheringCommands
fn clone(&self) -> TetheringCommands
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 TetheringCommands
impl Debug for TetheringCommands
Source§impl<'de> Deserialize<'de> for TetheringCommands
impl<'de> Deserialize<'de> for TetheringCommands
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<Bind> for TetheringCommands
impl From<Bind> for TetheringCommands
Source§impl From<TetheringCommands> for BrowserProtocolCommands
impl From<TetheringCommands> for BrowserProtocolCommands
Source§fn from(v: TetheringCommands) -> Self
fn from(v: TetheringCommands) -> Self
Converts to this type from the input type.
Source§impl From<TetheringCommands> for Command
impl From<TetheringCommands> for Command
Source§fn from(v: TetheringCommands) -> Self
fn from(v: TetheringCommands) -> Self
Converts to this type from the input type.
Source§impl From<Unbind> for TetheringCommands
impl From<Unbind> for TetheringCommands
Source§impl PartialEq for TetheringCommands
impl PartialEq for TetheringCommands
Source§impl Serialize for TetheringCommands
impl Serialize for TetheringCommands
Source§impl TryFrom<BrowserProtocolCommands> for TetheringCommands
impl TryFrom<BrowserProtocolCommands> for TetheringCommands
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, <TetheringCommands as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <TetheringCommands as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for TetheringCommands
impl TryFrom<Command> for TetheringCommands
Source§impl TryFrom<TetheringCommands> for Bind
impl TryFrom<TetheringCommands> for Bind
Source§type Error = TetheringCommands
type Error = TetheringCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: TetheringCommands,
) -> Result<Self, <Bind as TryFrom<TetheringCommands>>::Error>
fn try_from( e: TetheringCommands, ) -> Result<Self, <Bind as TryFrom<TetheringCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<TetheringCommands> for Unbind
impl TryFrom<TetheringCommands> for Unbind
Source§type Error = TetheringCommands
type Error = TetheringCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: TetheringCommands,
) -> Result<Self, <Unbind as TryFrom<TetheringCommands>>::Error>
fn try_from( e: TetheringCommands, ) -> Result<Self, <Unbind as TryFrom<TetheringCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for TetheringCommands
Auto Trait Implementations§
impl Freeze for TetheringCommands
impl RefUnwindSafe for TetheringCommands
impl Send for TetheringCommands
impl Sync for TetheringCommands
impl Unpin for TetheringCommands
impl UnsafeUnpin for TetheringCommands
impl UnwindSafe for TetheringCommands
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