[][src]Struct skyway_webrtc_gateway_api::data::DataConnectionStatus

pub struct DataConnectionStatus {
    pub remote_id: String,
    pub buffersize: usize,
    pub label: String,
    pub metadata: String,
    pub open: bool,
    pub reliable: bool,
    pub serialization: String,
    pub type: String,
}

Response from GET /data/connections/{data_cnnection_id}/status

API

Fields

remote_id: String

Identifies a peer connected with this DataConnection

buffersize: usize

Shows size of buffer

label: String

The optional label passed in or assigned by SkyWay when the connection was initiated.

metadata: String

Any type of metadata associated with the connection, passed in by whoever initiated the connection.

open: bool

This is true if the connection is open and ready for read/write.

reliable: bool

Whether the underlying data channels are reliable; defined when the connection was initiated.

serialization: String

The serialization format of the data sent over the connection. Can be BINARY (default), BINARY_UTF8, JSON, or NONE.

type: String

Fixed value as "data"

Trait Implementations

impl Clone for DataConnectionStatus[src]

impl Debug for DataConnectionStatus[src]

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

impl PartialEq<DataConnectionStatus> for DataConnectionStatus[src]

impl Serialize for DataConnectionStatus[src]

impl StructuralPartialEq for DataConnectionStatus[src]

Auto Trait Implementations

impl RefUnwindSafe for DataConnectionStatus

impl Send for DataConnectionStatus

impl Sync for DataConnectionStatus

impl Unpin for DataConnectionStatus

impl UnwindSafe for DataConnectionStatus

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.