[][src]Struct skyway_webrtc_gateway_api::prelude::PeerId

pub struct PeerId(pub String);

Identifier for PeerObject.

To avoid misuse, it is used with Token.

Methods

impl PeerId[src]

pub fn as_str(&self) -> &str[src]

pub fn new(peer_id: impl Into<String>) -> Self[src]

Trait Implementations

impl Clone for PeerId[src]

impl Debug for PeerId[src]

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

impl Eq for PeerId[src]

impl Hash for PeerId[src]

impl Ord for PeerId[src]

impl PartialEq<PeerId> for PeerId[src]

impl PartialOrd<PeerId> for PeerId[src]

impl Serialize for PeerId[src]

impl StructuralEq for PeerId[src]

impl StructuralPartialEq for PeerId[src]

Auto Trait Implementations

impl RefUnwindSafe for PeerId

impl Send for PeerId

impl Sync for PeerId

impl Unpin for PeerId

impl UnwindSafe for PeerId

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[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.