pub enum NetworkEvents {
Show 43 variants
DataReceived(DataReceived),
EventSourceMessageReceived(EventSourceMessageReceived),
LoadingFailed(LoadingFailed),
LoadingFinished(LoadingFinished),
RequestServedFromCache(RequestServedFromCache),
RequestWillBeSent(RequestWillBeSent),
ResourceChangedPriority(ResourceChangedPriority),
SignedExchangeReceived(SignedExchangeReceived),
ResponseReceived(ResponseReceived),
WebSocketClosed(WebSocketClosed),
WebSocketCreated(WebSocketCreated),
WebSocketFrameError(WebSocketFrameError),
WebSocketFrameReceived(WebSocketFrameReceived),
WebSocketFrameSent(WebSocketFrameSent),
WebSocketHandshakeResponseReceived(WebSocketHandshakeResponseReceived),
WebSocketWillSendHandshakeRequest(WebSocketWillSendHandshakeRequest),
WebTransportCreated(WebTransportCreated),
WebTransportConnectionEstablished(WebTransportConnectionEstablished),
WebTransportClosed(WebTransportClosed),
DirectTcpSocketCreated(DirectTcpSocketCreated),
DirectTcpSocketOpened(DirectTcpSocketOpened),
DirectTcpSocketAborted(DirectTcpSocketAborted),
DirectTcpSocketClosed(DirectTcpSocketClosed),
DirectTcpSocketChunkSent(DirectTcpSocketChunkSent),
DirectTcpSocketChunkReceived(DirectTcpSocketChunkReceived),
DirectUdpSocketJoinedMulticastGroup(DirectUdpSocketJoinedMulticastGroup),
DirectUdpSocketLeftMulticastGroup(DirectUdpSocketLeftMulticastGroup),
DirectUdpSocketCreated(DirectUdpSocketCreated),
DirectUdpSocketOpened(DirectUdpSocketOpened),
DirectUdpSocketAborted(DirectUdpSocketAborted),
DirectUdpSocketClosed(DirectUdpSocketClosed),
DirectUdpSocketChunkSent(DirectUdpSocketChunkSent),
DirectUdpSocketChunkReceived(DirectUdpSocketChunkReceived),
RequestWillBeSentExtraInfo(RequestWillBeSentExtraInfo),
ResponseReceivedExtraInfo(ResponseReceivedExtraInfo),
ResponseReceivedEarlyHints(ResponseReceivedEarlyHints),
TrustTokenOperationDone(TrustTokenOperationDone),
PolicyUpdated(PolicyUpdated),
ReportingApiReportAdded(ReportingApiReportAdded),
ReportingApiReportUpdated(ReportingApiReportUpdated),
ReportingApiEndpointsChangedForOrigin(ReportingApiEndpointsChangedForOrigin),
DeviceBoundSessionsAdded(DeviceBoundSessionsAdded),
DeviceBoundSessionEventOccurred(DeviceBoundSessionEventOccurred),
}Variants§
DataReceived(DataReceived)
EventSourceMessageReceived(EventSourceMessageReceived)
LoadingFailed(LoadingFailed)
LoadingFinished(LoadingFinished)
RequestServedFromCache(RequestServedFromCache)
RequestWillBeSent(RequestWillBeSent)
ResourceChangedPriority(ResourceChangedPriority)
SignedExchangeReceived(SignedExchangeReceived)
ResponseReceived(ResponseReceived)
WebSocketClosed(WebSocketClosed)
WebSocketCreated(WebSocketCreated)
WebSocketFrameError(WebSocketFrameError)
WebSocketFrameReceived(WebSocketFrameReceived)
WebSocketFrameSent(WebSocketFrameSent)
WebSocketHandshakeResponseReceived(WebSocketHandshakeResponseReceived)
WebSocketWillSendHandshakeRequest(WebSocketWillSendHandshakeRequest)
WebTransportCreated(WebTransportCreated)
WebTransportConnectionEstablished(WebTransportConnectionEstablished)
WebTransportClosed(WebTransportClosed)
DirectTcpSocketCreated(DirectTcpSocketCreated)
DirectTcpSocketOpened(DirectTcpSocketOpened)
DirectTcpSocketAborted(DirectTcpSocketAborted)
DirectTcpSocketClosed(DirectTcpSocketClosed)
DirectTcpSocketChunkSent(DirectTcpSocketChunkSent)
DirectTcpSocketChunkReceived(DirectTcpSocketChunkReceived)
DirectUdpSocketJoinedMulticastGroup(DirectUdpSocketJoinedMulticastGroup)
DirectUdpSocketLeftMulticastGroup(DirectUdpSocketLeftMulticastGroup)
DirectUdpSocketCreated(DirectUdpSocketCreated)
DirectUdpSocketOpened(DirectUdpSocketOpened)
DirectUdpSocketAborted(DirectUdpSocketAborted)
DirectUdpSocketClosed(DirectUdpSocketClosed)
DirectUdpSocketChunkSent(DirectUdpSocketChunkSent)
DirectUdpSocketChunkReceived(DirectUdpSocketChunkReceived)
RequestWillBeSentExtraInfo(RequestWillBeSentExtraInfo)
ResponseReceivedExtraInfo(ResponseReceivedExtraInfo)
ResponseReceivedEarlyHints(ResponseReceivedEarlyHints)
TrustTokenOperationDone(TrustTokenOperationDone)
PolicyUpdated(PolicyUpdated)
ReportingApiReportAdded(ReportingApiReportAdded)
ReportingApiReportUpdated(ReportingApiReportUpdated)
ReportingApiEndpointsChangedForOrigin(ReportingApiEndpointsChangedForOrigin)
DeviceBoundSessionsAdded(DeviceBoundSessionsAdded)
DeviceBoundSessionEventOccurred(DeviceBoundSessionEventOccurred)
Implementations§
Source§impl NetworkEvents
impl NetworkEvents
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for NetworkEvents
impl Clone for NetworkEvents
Source§fn clone(&self) -> NetworkEvents
fn clone(&self) -> NetworkEvents
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 NetworkEvents
impl Debug for NetworkEvents
Source§impl<'de> Deserialize<'de> for NetworkEvents
impl<'de> Deserialize<'de> for NetworkEvents
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 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 From<DeviceBoundSessionEventOccurred> for NetworkEvents
impl From<DeviceBoundSessionEventOccurred> for NetworkEvents
Source§fn from(v: DeviceBoundSessionEventOccurred) -> Self
fn from(v: DeviceBoundSessionEventOccurred) -> Self
Converts to this type from the input type.
Source§impl From<DeviceBoundSessionsAdded> for NetworkEvents
impl From<DeviceBoundSessionsAdded> for NetworkEvents
Source§fn from(v: DeviceBoundSessionsAdded) -> Self
fn from(v: DeviceBoundSessionsAdded) -> Self
Converts to this type from the input type.
Source§impl From<DirectTcpSocketAborted> for NetworkEvents
impl From<DirectTcpSocketAborted> for NetworkEvents
Source§fn from(v: DirectTcpSocketAborted) -> Self
fn from(v: DirectTcpSocketAborted) -> Self
Converts to this type from the input type.
Source§impl From<DirectTcpSocketChunkReceived> for NetworkEvents
impl From<DirectTcpSocketChunkReceived> for NetworkEvents
Source§fn from(v: DirectTcpSocketChunkReceived) -> Self
fn from(v: DirectTcpSocketChunkReceived) -> Self
Converts to this type from the input type.
Source§impl From<DirectTcpSocketChunkSent> for NetworkEvents
impl From<DirectTcpSocketChunkSent> for NetworkEvents
Source§fn from(v: DirectTcpSocketChunkSent) -> Self
fn from(v: DirectTcpSocketChunkSent) -> Self
Converts to this type from the input type.
Source§impl From<DirectTcpSocketClosed> for NetworkEvents
impl From<DirectTcpSocketClosed> for NetworkEvents
Source§fn from(v: DirectTcpSocketClosed) -> Self
fn from(v: DirectTcpSocketClosed) -> Self
Converts to this type from the input type.
Source§impl From<DirectTcpSocketCreated> for NetworkEvents
impl From<DirectTcpSocketCreated> for NetworkEvents
Source§fn from(v: DirectTcpSocketCreated) -> Self
fn from(v: DirectTcpSocketCreated) -> Self
Converts to this type from the input type.
Source§impl From<DirectTcpSocketOpened> for NetworkEvents
impl From<DirectTcpSocketOpened> for NetworkEvents
Source§fn from(v: DirectTcpSocketOpened) -> Self
fn from(v: DirectTcpSocketOpened) -> Self
Converts to this type from the input type.
Source§impl From<DirectUdpSocketAborted> for NetworkEvents
impl From<DirectUdpSocketAborted> for NetworkEvents
Source§fn from(v: DirectUdpSocketAborted) -> Self
fn from(v: DirectUdpSocketAborted) -> Self
Converts to this type from the input type.
Source§impl From<DirectUdpSocketChunkReceived> for NetworkEvents
impl From<DirectUdpSocketChunkReceived> for NetworkEvents
Source§fn from(v: DirectUdpSocketChunkReceived) -> Self
fn from(v: DirectUdpSocketChunkReceived) -> Self
Converts to this type from the input type.
Source§impl From<DirectUdpSocketChunkSent> for NetworkEvents
impl From<DirectUdpSocketChunkSent> for NetworkEvents
Source§fn from(v: DirectUdpSocketChunkSent) -> Self
fn from(v: DirectUdpSocketChunkSent) -> Self
Converts to this type from the input type.
Source§impl From<DirectUdpSocketClosed> for NetworkEvents
impl From<DirectUdpSocketClosed> for NetworkEvents
Source§fn from(v: DirectUdpSocketClosed) -> Self
fn from(v: DirectUdpSocketClosed) -> Self
Converts to this type from the input type.
Source§impl From<DirectUdpSocketCreated> for NetworkEvents
impl From<DirectUdpSocketCreated> for NetworkEvents
Source§fn from(v: DirectUdpSocketCreated) -> Self
fn from(v: DirectUdpSocketCreated) -> Self
Converts to this type from the input type.
Source§impl From<DirectUdpSocketJoinedMulticastGroup> for NetworkEvents
impl From<DirectUdpSocketJoinedMulticastGroup> for NetworkEvents
Source§fn from(v: DirectUdpSocketJoinedMulticastGroup) -> Self
fn from(v: DirectUdpSocketJoinedMulticastGroup) -> Self
Converts to this type from the input type.
Source§impl From<DirectUdpSocketLeftMulticastGroup> for NetworkEvents
impl From<DirectUdpSocketLeftMulticastGroup> for NetworkEvents
Source§fn from(v: DirectUdpSocketLeftMulticastGroup) -> Self
fn from(v: DirectUdpSocketLeftMulticastGroup) -> Self
Converts to this type from the input type.
Source§impl From<DirectUdpSocketOpened> for NetworkEvents
impl From<DirectUdpSocketOpened> for NetworkEvents
Source§fn from(v: DirectUdpSocketOpened) -> Self
fn from(v: DirectUdpSocketOpened) -> Self
Converts to this type from the input type.
Source§impl From<EventSourceMessageReceived> for NetworkEvents
impl From<EventSourceMessageReceived> for NetworkEvents
Source§fn from(v: EventSourceMessageReceived) -> Self
fn from(v: EventSourceMessageReceived) -> Self
Converts to this type from the input type.
Source§impl From<LoadingFailed> for NetworkEvents
impl From<LoadingFailed> for NetworkEvents
Source§fn from(v: LoadingFailed) -> Self
fn from(v: LoadingFailed) -> Self
Converts to this type from the input type.
Source§impl From<LoadingFinished> for NetworkEvents
impl From<LoadingFinished> for NetworkEvents
Source§fn from(v: LoadingFinished) -> Self
fn from(v: LoadingFinished) -> Self
Converts to this type from the input type.
Source§impl From<NetworkEvents> for BrowserProtocolEvents
impl From<NetworkEvents> for BrowserProtocolEvents
Source§fn from(v: NetworkEvents) -> Self
fn from(v: NetworkEvents) -> Self
Converts to this type from the input type.
Source§impl From<NetworkEvents> for Event
impl From<NetworkEvents> for Event
Source§fn from(v: NetworkEvents) -> Self
fn from(v: NetworkEvents) -> Self
Converts to this type from the input type.
Source§impl From<PolicyUpdated> for NetworkEvents
impl From<PolicyUpdated> for NetworkEvents
Source§fn from(v: PolicyUpdated) -> Self
fn from(v: PolicyUpdated) -> Self
Converts to this type from the input type.
Source§impl From<ReportingApiEndpointsChangedForOrigin> for NetworkEvents
impl From<ReportingApiEndpointsChangedForOrigin> for NetworkEvents
Source§fn from(v: ReportingApiEndpointsChangedForOrigin) -> Self
fn from(v: ReportingApiEndpointsChangedForOrigin) -> Self
Converts to this type from the input type.
Source§impl From<ReportingApiReportAdded> for NetworkEvents
impl From<ReportingApiReportAdded> for NetworkEvents
Source§fn from(v: ReportingApiReportAdded) -> Self
fn from(v: ReportingApiReportAdded) -> Self
Converts to this type from the input type.
Source§impl From<ReportingApiReportUpdated> for NetworkEvents
impl From<ReportingApiReportUpdated> for NetworkEvents
Source§fn from(v: ReportingApiReportUpdated) -> Self
fn from(v: ReportingApiReportUpdated) -> Self
Converts to this type from the input type.
Source§impl From<RequestServedFromCache> for NetworkEvents
impl From<RequestServedFromCache> for NetworkEvents
Source§fn from(v: RequestServedFromCache) -> Self
fn from(v: RequestServedFromCache) -> Self
Converts to this type from the input type.
Source§impl From<RequestWillBeSent> for NetworkEvents
impl From<RequestWillBeSent> for NetworkEvents
Source§fn from(v: RequestWillBeSent) -> Self
fn from(v: RequestWillBeSent) -> Self
Converts to this type from the input type.
Source§impl From<RequestWillBeSentExtraInfo> for NetworkEvents
impl From<RequestWillBeSentExtraInfo> for NetworkEvents
Source§fn from(v: RequestWillBeSentExtraInfo) -> Self
fn from(v: RequestWillBeSentExtraInfo) -> Self
Converts to this type from the input type.
Source§impl From<ResourceChangedPriority> for NetworkEvents
impl From<ResourceChangedPriority> for NetworkEvents
Source§fn from(v: ResourceChangedPriority) -> Self
fn from(v: ResourceChangedPriority) -> Self
Converts to this type from the input type.
Source§impl From<ResponseReceived> for NetworkEvents
impl From<ResponseReceived> for NetworkEvents
Source§fn from(v: ResponseReceived) -> Self
fn from(v: ResponseReceived) -> Self
Converts to this type from the input type.
Source§impl From<ResponseReceivedEarlyHints> for NetworkEvents
impl From<ResponseReceivedEarlyHints> for NetworkEvents
Source§fn from(v: ResponseReceivedEarlyHints) -> Self
fn from(v: ResponseReceivedEarlyHints) -> Self
Converts to this type from the input type.
Source§impl From<ResponseReceivedExtraInfo> for NetworkEvents
impl From<ResponseReceivedExtraInfo> for NetworkEvents
Source§fn from(v: ResponseReceivedExtraInfo) -> Self
fn from(v: ResponseReceivedExtraInfo) -> Self
Converts to this type from the input type.
Source§impl From<SignedExchangeReceived> for NetworkEvents
impl From<SignedExchangeReceived> for NetworkEvents
Source§fn from(v: SignedExchangeReceived) -> Self
fn from(v: SignedExchangeReceived) -> Self
Converts to this type from the input type.
Source§impl From<TrustTokenOperationDone> for NetworkEvents
impl From<TrustTokenOperationDone> for NetworkEvents
Source§fn from(v: TrustTokenOperationDone) -> Self
fn from(v: TrustTokenOperationDone) -> Self
Converts to this type from the input type.
Source§impl From<WebSocketClosed> for NetworkEvents
impl From<WebSocketClosed> for NetworkEvents
Source§fn from(v: WebSocketClosed) -> Self
fn from(v: WebSocketClosed) -> Self
Converts to this type from the input type.
Source§impl From<WebSocketCreated> for NetworkEvents
impl From<WebSocketCreated> for NetworkEvents
Source§fn from(v: WebSocketCreated) -> Self
fn from(v: WebSocketCreated) -> Self
Converts to this type from the input type.
Source§impl From<WebSocketFrameError> for NetworkEvents
impl From<WebSocketFrameError> for NetworkEvents
Source§fn from(v: WebSocketFrameError) -> Self
fn from(v: WebSocketFrameError) -> Self
Converts to this type from the input type.
Source§impl From<WebSocketFrameReceived> for NetworkEvents
impl From<WebSocketFrameReceived> for NetworkEvents
Source§fn from(v: WebSocketFrameReceived) -> Self
fn from(v: WebSocketFrameReceived) -> Self
Converts to this type from the input type.
Source§impl From<WebSocketFrameSent> for NetworkEvents
impl From<WebSocketFrameSent> for NetworkEvents
Source§fn from(v: WebSocketFrameSent) -> Self
fn from(v: WebSocketFrameSent) -> Self
Converts to this type from the input type.
Source§impl From<WebSocketHandshakeResponseReceived> for NetworkEvents
impl From<WebSocketHandshakeResponseReceived> for NetworkEvents
Source§fn from(v: WebSocketHandshakeResponseReceived) -> Self
fn from(v: WebSocketHandshakeResponseReceived) -> Self
Converts to this type from the input type.
Source§impl From<WebSocketWillSendHandshakeRequest> for NetworkEvents
impl From<WebSocketWillSendHandshakeRequest> for NetworkEvents
Source§fn from(v: WebSocketWillSendHandshakeRequest) -> Self
fn from(v: WebSocketWillSendHandshakeRequest) -> Self
Converts to this type from the input type.
Source§impl From<WebTransportClosed> for NetworkEvents
impl From<WebTransportClosed> for NetworkEvents
Source§fn from(v: WebTransportClosed) -> Self
fn from(v: WebTransportClosed) -> Self
Converts to this type from the input type.
Source§impl From<WebTransportConnectionEstablished> for NetworkEvents
impl From<WebTransportConnectionEstablished> for NetworkEvents
Source§fn from(v: WebTransportConnectionEstablished) -> Self
fn from(v: WebTransportConnectionEstablished) -> Self
Converts to this type from the input type.
Source§impl From<WebTransportCreated> for NetworkEvents
impl From<WebTransportCreated> for NetworkEvents
Source§fn from(v: WebTransportCreated) -> Self
fn from(v: WebTransportCreated) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NetworkEvents
impl PartialEq for NetworkEvents
Source§impl Serialize for NetworkEvents
impl Serialize for NetworkEvents
Source§impl TryFrom<BrowserProtocolEvents> for NetworkEvents
impl TryFrom<BrowserProtocolEvents> for NetworkEvents
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, <NetworkEvents as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <NetworkEvents as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for NetworkEvents
impl TryFrom<Event> for NetworkEvents
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.
Source§impl TryFrom<NetworkEvents> for DeviceBoundSessionEventOccurred
impl TryFrom<NetworkEvents> for DeviceBoundSessionEventOccurred
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, <DeviceBoundSessionEventOccurred as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <DeviceBoundSessionEventOccurred as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for DeviceBoundSessionsAdded
impl TryFrom<NetworkEvents> for DeviceBoundSessionsAdded
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, <DeviceBoundSessionsAdded as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <DeviceBoundSessionsAdded as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for DirectTcpSocketAborted
impl TryFrom<NetworkEvents> for DirectTcpSocketAborted
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, <DirectTcpSocketAborted as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <DirectTcpSocketAborted as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for DirectTcpSocketChunkReceived
impl TryFrom<NetworkEvents> for DirectTcpSocketChunkReceived
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, <DirectTcpSocketChunkReceived as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <DirectTcpSocketChunkReceived as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for DirectTcpSocketChunkSent
impl TryFrom<NetworkEvents> for DirectTcpSocketChunkSent
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, <DirectTcpSocketChunkSent as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <DirectTcpSocketChunkSent as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for DirectTcpSocketClosed
impl TryFrom<NetworkEvents> for DirectTcpSocketClosed
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, <DirectTcpSocketClosed as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <DirectTcpSocketClosed as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for DirectTcpSocketCreated
impl TryFrom<NetworkEvents> for DirectTcpSocketCreated
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, <DirectTcpSocketCreated as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <DirectTcpSocketCreated as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for DirectTcpSocketOpened
impl TryFrom<NetworkEvents> for DirectTcpSocketOpened
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, <DirectTcpSocketOpened as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <DirectTcpSocketOpened as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for DirectUdpSocketAborted
impl TryFrom<NetworkEvents> for DirectUdpSocketAborted
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, <DirectUdpSocketAborted as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <DirectUdpSocketAborted as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for DirectUdpSocketChunkReceived
impl TryFrom<NetworkEvents> for DirectUdpSocketChunkReceived
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, <DirectUdpSocketChunkReceived as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <DirectUdpSocketChunkReceived as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for DirectUdpSocketChunkSent
impl TryFrom<NetworkEvents> for DirectUdpSocketChunkSent
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, <DirectUdpSocketChunkSent as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <DirectUdpSocketChunkSent as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for DirectUdpSocketClosed
impl TryFrom<NetworkEvents> for DirectUdpSocketClosed
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, <DirectUdpSocketClosed as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <DirectUdpSocketClosed as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for DirectUdpSocketCreated
impl TryFrom<NetworkEvents> for DirectUdpSocketCreated
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, <DirectUdpSocketCreated as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <DirectUdpSocketCreated as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for DirectUdpSocketJoinedMulticastGroup
impl TryFrom<NetworkEvents> for DirectUdpSocketJoinedMulticastGroup
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, <DirectUdpSocketJoinedMulticastGroup as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <DirectUdpSocketJoinedMulticastGroup as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for DirectUdpSocketLeftMulticastGroup
impl TryFrom<NetworkEvents> for DirectUdpSocketLeftMulticastGroup
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, <DirectUdpSocketLeftMulticastGroup as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <DirectUdpSocketLeftMulticastGroup as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for DirectUdpSocketOpened
impl TryFrom<NetworkEvents> for DirectUdpSocketOpened
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, <DirectUdpSocketOpened as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <DirectUdpSocketOpened as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for EventSourceMessageReceived
impl TryFrom<NetworkEvents> for EventSourceMessageReceived
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, <EventSourceMessageReceived as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <EventSourceMessageReceived as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for LoadingFailed
impl TryFrom<NetworkEvents> for LoadingFailed
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, <LoadingFailed as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <LoadingFailed as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for LoadingFinished
impl TryFrom<NetworkEvents> for LoadingFinished
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, <LoadingFinished as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <LoadingFinished as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for PolicyUpdated
impl TryFrom<NetworkEvents> for PolicyUpdated
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, <PolicyUpdated as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <PolicyUpdated as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for ReportingApiEndpointsChangedForOrigin
impl TryFrom<NetworkEvents> for ReportingApiEndpointsChangedForOrigin
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, <ReportingApiEndpointsChangedForOrigin as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <ReportingApiEndpointsChangedForOrigin as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for ReportingApiReportAdded
impl TryFrom<NetworkEvents> for ReportingApiReportAdded
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, <ReportingApiReportAdded as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <ReportingApiReportAdded as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for ReportingApiReportUpdated
impl TryFrom<NetworkEvents> for ReportingApiReportUpdated
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, <ReportingApiReportUpdated as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <ReportingApiReportUpdated as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for RequestServedFromCache
impl TryFrom<NetworkEvents> for RequestServedFromCache
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, <RequestServedFromCache as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <RequestServedFromCache as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for RequestWillBeSent
impl TryFrom<NetworkEvents> for RequestWillBeSent
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, <RequestWillBeSent as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <RequestWillBeSent as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for RequestWillBeSentExtraInfo
impl TryFrom<NetworkEvents> for RequestWillBeSentExtraInfo
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, <RequestWillBeSentExtraInfo as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <RequestWillBeSentExtraInfo as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for ResourceChangedPriority
impl TryFrom<NetworkEvents> for ResourceChangedPriority
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, <ResourceChangedPriority as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <ResourceChangedPriority as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for ResponseReceived
impl TryFrom<NetworkEvents> for ResponseReceived
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, <ResponseReceived as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <ResponseReceived as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for ResponseReceivedEarlyHints
impl TryFrom<NetworkEvents> for ResponseReceivedEarlyHints
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, <ResponseReceivedEarlyHints as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <ResponseReceivedEarlyHints as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for ResponseReceivedExtraInfo
impl TryFrom<NetworkEvents> for ResponseReceivedExtraInfo
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, <ResponseReceivedExtraInfo as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <ResponseReceivedExtraInfo as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for SignedExchangeReceived
impl TryFrom<NetworkEvents> for SignedExchangeReceived
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, <SignedExchangeReceived as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <SignedExchangeReceived as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for TrustTokenOperationDone
impl TryFrom<NetworkEvents> for TrustTokenOperationDone
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, <TrustTokenOperationDone as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <TrustTokenOperationDone as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for WebSocketClosed
impl TryFrom<NetworkEvents> for WebSocketClosed
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, <WebSocketClosed as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <WebSocketClosed as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for WebSocketCreated
impl TryFrom<NetworkEvents> for WebSocketCreated
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, <WebSocketCreated as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <WebSocketCreated as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for WebSocketFrameError
impl TryFrom<NetworkEvents> for WebSocketFrameError
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, <WebSocketFrameError as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <WebSocketFrameError as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for WebSocketFrameReceived
impl TryFrom<NetworkEvents> for WebSocketFrameReceived
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, <WebSocketFrameReceived as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <WebSocketFrameReceived as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for WebSocketFrameSent
impl TryFrom<NetworkEvents> for WebSocketFrameSent
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, <WebSocketFrameSent as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <WebSocketFrameSent as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for WebSocketHandshakeResponseReceived
impl TryFrom<NetworkEvents> for WebSocketHandshakeResponseReceived
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, <WebSocketHandshakeResponseReceived as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <WebSocketHandshakeResponseReceived as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for WebSocketWillSendHandshakeRequest
impl TryFrom<NetworkEvents> for WebSocketWillSendHandshakeRequest
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, <WebSocketWillSendHandshakeRequest as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <WebSocketWillSendHandshakeRequest as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for WebTransportClosed
impl TryFrom<NetworkEvents> for WebTransportClosed
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, <WebTransportClosed as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <WebTransportClosed as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for WebTransportConnectionEstablished
impl TryFrom<NetworkEvents> for WebTransportConnectionEstablished
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, <WebTransportConnectionEstablished as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <WebTransportConnectionEstablished as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for WebTransportCreated
impl TryFrom<NetworkEvents> for WebTransportCreated
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, <WebTransportCreated as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <WebTransportCreated as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for NetworkEvents
Auto Trait Implementations§
impl Freeze for NetworkEvents
impl RefUnwindSafe for NetworkEvents
impl Send for NetworkEvents
impl Sync for NetworkEvents
impl Unpin for NetworkEvents
impl UnsafeUnpin for NetworkEvents
impl UnwindSafe for NetworkEvents
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