pub struct DataReceived {
pub method: DataReceivedMethod,
pub params: DataReceivedParams,
}Expand description
Fired when data chunk was received over the network. dataReceived
Fields§
§method: DataReceivedMethod§params: DataReceivedParamsImplementations§
Source§impl DataReceived
impl DataReceived
pub const IDENTIFIER: &'static str = "Network.dataReceived"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for DataReceived
impl Clone for DataReceived
Source§fn clone(&self) -> DataReceived
fn clone(&self) -> DataReceived
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 DataReceived
impl Debug for DataReceived
Source§impl<'de> Deserialize<'de> for DataReceived
impl<'de> Deserialize<'de> for DataReceived
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<DataReceived> for BrowserProtocolEvents
impl From<DataReceived> for BrowserProtocolEvents
Source§fn from(v: DataReceived) -> Self
fn from(v: DataReceived) -> Self
Converts to this type from the input type.
Source§impl From<DataReceived> for Event
impl From<DataReceived> for Event
Source§fn from(v: DataReceived) -> Self
fn from(v: DataReceived) -> Self
Converts to this type from the input type.
Source§impl From<DataReceived> for NetworkEvents
impl From<DataReceived> for NetworkEvents
Source§fn from(v: DataReceived) -> Self
fn from(v: DataReceived) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DataReceived
impl PartialEq for DataReceived
Source§impl Serialize for DataReceived
impl Serialize for DataReceived
Source§impl TryFrom<BrowserProtocolEvents> for DataReceived
impl TryFrom<BrowserProtocolEvents> for DataReceived
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, <DataReceived as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <DataReceived as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for DataReceived
impl TryFrom<Event> for DataReceived
Source§impl TryFrom<NetworkEvents> for DataReceived
impl TryFrom<NetworkEvents> for DataReceived
Source§type Error = NetworkEvents
type Error = NetworkEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: NetworkEvents,
) -> Result<Self, <DataReceived as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <DataReceived as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for DataReceived
Auto Trait Implementations§
impl Freeze for DataReceived
impl RefUnwindSafe for DataReceived
impl Send for DataReceived
impl Sync for DataReceived
impl Unpin for DataReceived
impl UnsafeUnpin for DataReceived
impl UnwindSafe for DataReceived
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