pub struct Bind {
pub method: BindMethod,
pub params: BindParams,
}Expand description
Request browser port binding. bind
Fields§
§method: BindMethod§params: BindParamsImplementations§
Source§impl Bind
impl Bind
pub const IDENTIFIER: &'static str = "Tethering.bind"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl CommandResult for Bind
impl CommandResult for Bind
type Result = BindResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl<'de> Deserialize<'de> for Bind
impl<'de> Deserialize<'de> for Bind
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 BrowserProtocolCommands
impl From<Bind> for BrowserProtocolCommands
Source§impl From<Bind> for TetheringCommands
impl From<Bind> for TetheringCommands
Source§impl TryFrom<BrowserProtocolCommands> for Bind
impl TryFrom<BrowserProtocolCommands> for Bind
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, <Bind as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <Bind as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
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.
impl StructuralPartialEq for Bind
Auto Trait Implementations§
impl Freeze for Bind
impl RefUnwindSafe for Bind
impl Send for Bind
impl Sync for Bind
impl Unpin for Bind
impl UnsafeUnpin for Bind
impl UnwindSafe for Bind
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