[][src]Struct skyway_webrtc_gateway_api::peer::PeerConnectionEvent

pub struct PeerConnectionEvent {
    pub params: PeerInfo,
    pub data_params: DataConnectionIdWrapper,
}

Shows that the Peer Object receives a request to establish DataConnection with neighbour.

API

DataConnection is automatically established when the request comes.

Fields

params: PeerInfo

Pair of PeerId and Token. Indicate which Peer Object is regarded.

data_params: DataConnectionIdWrapper

Id to identify the DataConnection

Trait Implementations

impl Clone for PeerConnectionEvent[src]

impl Debug for PeerConnectionEvent[src]

impl<'de> Deserialize<'de> for PeerConnectionEvent[src]

impl PartialEq<PeerConnectionEvent> for PeerConnectionEvent[src]

impl PartialOrd<PeerConnectionEvent> for PeerConnectionEvent[src]

impl Serialize for PeerConnectionEvent[src]

impl StructuralPartialEq for PeerConnectionEvent[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.