pub struct Accepted {
pub method: AcceptedMethod,
pub params: AcceptedParams,
}Expand description
Informs that port was successfully bound and got a specified connection id. accepted
Fields§
§method: AcceptedMethod§params: AcceptedParamsImplementations§
Source§impl Accepted
impl Accepted
pub const IDENTIFIER: &'static str = "Tethering.accepted"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Accepted
impl<'de> Deserialize<'de> for Accepted
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<Accepted> for BrowserProtocolEvents
impl From<Accepted> for BrowserProtocolEvents
Source§impl From<Accepted> for TetheringEvents
impl From<Accepted> for TetheringEvents
Source§impl TryFrom<BrowserProtocolEvents> for Accepted
impl TryFrom<BrowserProtocolEvents> for Accepted
Source§type Error = BrowserProtocolEvents
type Error = BrowserProtocolEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolEvents,
) -> Result<Self, <Accepted as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <Accepted as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<TetheringEvents> for Accepted
impl TryFrom<TetheringEvents> for Accepted
Source§type Error = TetheringEvents
type Error = TetheringEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: TetheringEvents,
) -> Result<Self, <Accepted as TryFrom<TetheringEvents>>::Error>
fn try_from( e: TetheringEvents, ) -> Result<Self, <Accepted as TryFrom<TetheringEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for Accepted
Auto Trait Implementations§
impl Freeze for Accepted
impl RefUnwindSafe for Accepted
impl Send for Accepted
impl Sync for Accepted
impl Unpin for Accepted
impl UnsafeUnpin for Accepted
impl UnwindSafe for Accepted
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