Skip to main content

NetworkEvents

Enum NetworkEvents 

Source
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

Source

pub fn identifier(&self) -> &'static str

Trait Implementations§

Source§

impl Clone for NetworkEvents

Source§

fn clone(&self) -> NetworkEvents

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for NetworkEvents

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for NetworkEvents

Source§

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

Source§

fn from(v: DataReceived) -> Self

Converts to this type from the input type.
Source§

impl From<DeviceBoundSessionEventOccurred> for NetworkEvents

Source§

fn from(v: DeviceBoundSessionEventOccurred) -> Self

Converts to this type from the input type.
Source§

impl From<DeviceBoundSessionsAdded> for NetworkEvents

Source§

fn from(v: DeviceBoundSessionsAdded) -> Self

Converts to this type from the input type.
Source§

impl From<DirectTcpSocketAborted> for NetworkEvents

Source§

fn from(v: DirectTcpSocketAborted) -> Self

Converts to this type from the input type.
Source§

impl From<DirectTcpSocketChunkReceived> for NetworkEvents

Source§

fn from(v: DirectTcpSocketChunkReceived) -> Self

Converts to this type from the input type.
Source§

impl From<DirectTcpSocketChunkSent> for NetworkEvents

Source§

fn from(v: DirectTcpSocketChunkSent) -> Self

Converts to this type from the input type.
Source§

impl From<DirectTcpSocketClosed> for NetworkEvents

Source§

fn from(v: DirectTcpSocketClosed) -> Self

Converts to this type from the input type.
Source§

impl From<DirectTcpSocketCreated> for NetworkEvents

Source§

fn from(v: DirectTcpSocketCreated) -> Self

Converts to this type from the input type.
Source§

impl From<DirectTcpSocketOpened> for NetworkEvents

Source§

fn from(v: DirectTcpSocketOpened) -> Self

Converts to this type from the input type.
Source§

impl From<DirectUdpSocketAborted> for NetworkEvents

Source§

fn from(v: DirectUdpSocketAborted) -> Self

Converts to this type from the input type.
Source§

impl From<DirectUdpSocketChunkReceived> for NetworkEvents

Source§

fn from(v: DirectUdpSocketChunkReceived) -> Self

Converts to this type from the input type.
Source§

impl From<DirectUdpSocketChunkSent> for NetworkEvents

Source§

fn from(v: DirectUdpSocketChunkSent) -> Self

Converts to this type from the input type.
Source§

impl From<DirectUdpSocketClosed> for NetworkEvents

Source§

fn from(v: DirectUdpSocketClosed) -> Self

Converts to this type from the input type.
Source§

impl From<DirectUdpSocketCreated> for NetworkEvents

Source§

fn from(v: DirectUdpSocketCreated) -> Self

Converts to this type from the input type.
Source§

impl From<DirectUdpSocketJoinedMulticastGroup> for NetworkEvents

Source§

fn from(v: DirectUdpSocketJoinedMulticastGroup) -> Self

Converts to this type from the input type.
Source§

impl From<DirectUdpSocketLeftMulticastGroup> for NetworkEvents

Source§

fn from(v: DirectUdpSocketLeftMulticastGroup) -> Self

Converts to this type from the input type.
Source§

impl From<DirectUdpSocketOpened> for NetworkEvents

Source§

fn from(v: DirectUdpSocketOpened) -> Self

Converts to this type from the input type.
Source§

impl From<EventSourceMessageReceived> for NetworkEvents

Source§

fn from(v: EventSourceMessageReceived) -> Self

Converts to this type from the input type.
Source§

impl From<LoadingFailed> for NetworkEvents

Source§

fn from(v: LoadingFailed) -> Self

Converts to this type from the input type.
Source§

impl From<LoadingFinished> for NetworkEvents

Source§

fn from(v: LoadingFinished) -> Self

Converts to this type from the input type.
Source§

impl From<NetworkEvents> for BrowserProtocolEvents

Source§

fn from(v: NetworkEvents) -> Self

Converts to this type from the input type.
Source§

impl From<NetworkEvents> for Event

Source§

fn from(v: NetworkEvents) -> Self

Converts to this type from the input type.
Source§

impl From<PolicyUpdated> for NetworkEvents

Source§

fn from(v: PolicyUpdated) -> Self

Converts to this type from the input type.
Source§

impl From<ReportingApiEndpointsChangedForOrigin> for NetworkEvents

Source§

fn from(v: ReportingApiEndpointsChangedForOrigin) -> Self

Converts to this type from the input type.
Source§

impl From<ReportingApiReportAdded> for NetworkEvents

Source§

fn from(v: ReportingApiReportAdded) -> Self

Converts to this type from the input type.
Source§

impl From<ReportingApiReportUpdated> for NetworkEvents

Source§

fn from(v: ReportingApiReportUpdated) -> Self

Converts to this type from the input type.
Source§

impl From<RequestServedFromCache> for NetworkEvents

Source§

fn from(v: RequestServedFromCache) -> Self

Converts to this type from the input type.
Source§

impl From<RequestWillBeSent> for NetworkEvents

Source§

fn from(v: RequestWillBeSent) -> Self

Converts to this type from the input type.
Source§

impl From<RequestWillBeSentExtraInfo> for NetworkEvents

Source§

fn from(v: RequestWillBeSentExtraInfo) -> Self

Converts to this type from the input type.
Source§

impl From<ResourceChangedPriority> for NetworkEvents

Source§

fn from(v: ResourceChangedPriority) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseReceived> for NetworkEvents

Source§

fn from(v: ResponseReceived) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseReceivedEarlyHints> for NetworkEvents

Source§

fn from(v: ResponseReceivedEarlyHints) -> Self

Converts to this type from the input type.
Source§

impl From<ResponseReceivedExtraInfo> for NetworkEvents

Source§

fn from(v: ResponseReceivedExtraInfo) -> Self

Converts to this type from the input type.
Source§

impl From<SignedExchangeReceived> for NetworkEvents

Source§

fn from(v: SignedExchangeReceived) -> Self

Converts to this type from the input type.
Source§

impl From<TrustTokenOperationDone> for NetworkEvents

Source§

fn from(v: TrustTokenOperationDone) -> Self

Converts to this type from the input type.
Source§

impl From<WebSocketClosed> for NetworkEvents

Source§

fn from(v: WebSocketClosed) -> Self

Converts to this type from the input type.
Source§

impl From<WebSocketCreated> for NetworkEvents

Source§

fn from(v: WebSocketCreated) -> Self

Converts to this type from the input type.
Source§

impl From<WebSocketFrameError> for NetworkEvents

Source§

fn from(v: WebSocketFrameError) -> Self

Converts to this type from the input type.
Source§

impl From<WebSocketFrameReceived> for NetworkEvents

Source§

fn from(v: WebSocketFrameReceived) -> Self

Converts to this type from the input type.
Source§

impl From<WebSocketFrameSent> for NetworkEvents

Source§

fn from(v: WebSocketFrameSent) -> Self

Converts to this type from the input type.
Source§

impl From<WebSocketHandshakeResponseReceived> for NetworkEvents

Source§

fn from(v: WebSocketHandshakeResponseReceived) -> Self

Converts to this type from the input type.
Source§

impl From<WebSocketWillSendHandshakeRequest> for NetworkEvents

Source§

fn from(v: WebSocketWillSendHandshakeRequest) -> Self

Converts to this type from the input type.
Source§

impl From<WebTransportClosed> for NetworkEvents

Source§

fn from(v: WebTransportClosed) -> Self

Converts to this type from the input type.
Source§

impl From<WebTransportConnectionEstablished> for NetworkEvents

Source§

fn from(v: WebTransportConnectionEstablished) -> Self

Converts to this type from the input type.
Source§

impl From<WebTransportCreated> for NetworkEvents

Source§

fn from(v: WebTransportCreated) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for NetworkEvents

Source§

fn eq(&self, other: &NetworkEvents) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for NetworkEvents

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<BrowserProtocolEvents> for NetworkEvents

Source§

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>

Performs the conversion.
Source§

impl TryFrom<Event> for NetworkEvents

Source§

type Error = Event

The type returned in the event of a conversion error.
Source§

fn try_from(e: Event) -> Result<Self, <NetworkEvents as TryFrom<Event>>::Error>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for DataReceived

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for DeviceBoundSessionEventOccurred

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for DeviceBoundSessionsAdded

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for DirectTcpSocketAborted

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for DirectTcpSocketChunkReceived

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for DirectTcpSocketChunkSent

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for DirectTcpSocketClosed

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for DirectTcpSocketCreated

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for DirectTcpSocketOpened

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for DirectUdpSocketAborted

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for DirectUdpSocketChunkReceived

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for DirectUdpSocketChunkSent

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for DirectUdpSocketClosed

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for DirectUdpSocketCreated

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for DirectUdpSocketJoinedMulticastGroup

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for DirectUdpSocketLeftMulticastGroup

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for DirectUdpSocketOpened

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for EventSourceMessageReceived

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for LoadingFailed

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for LoadingFinished

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for PolicyUpdated

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for ReportingApiEndpointsChangedForOrigin

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for ReportingApiReportAdded

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for ReportingApiReportUpdated

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for RequestServedFromCache

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for RequestWillBeSent

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for RequestWillBeSentExtraInfo

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for ResourceChangedPriority

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for ResponseReceived

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for ResponseReceivedEarlyHints

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for ResponseReceivedExtraInfo

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for SignedExchangeReceived

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for TrustTokenOperationDone

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for WebSocketClosed

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for WebSocketCreated

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for WebSocketFrameError

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for WebSocketFrameReceived

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for WebSocketFrameSent

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for WebSocketHandshakeResponseReceived

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for WebSocketWillSendHandshakeRequest

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for WebTransportClosed

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for WebTransportConnectionEstablished

Source§

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>

Performs the conversion.
Source§

impl TryFrom<NetworkEvents> for WebTransportCreated

Source§

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>

Performs the conversion.
Source§

impl StructuralPartialEq for NetworkEvents

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,