Struct medea_client_api_proto::RpcSettings[][src]

pub struct RpcSettings {
    pub idle_timeout_ms: u32,
    pub ping_interval_ms: u32,
}

RPC settings of Client received from Media Server.

Fields

idle_timeout_ms: u32

Timeout of considering Client as lost by Media Server when it doesn’t receive ClientMsg::Pong.

Unit: millisecond.

ping_interval_ms: u32

Interval that Media Server sends ServerMsg::Ping with.

Unit: millisecond.

Trait Implementations

impl Clone for RpcSettings[src]

impl Debug for RpcSettings[src]

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

impl Eq for RpcSettings[src]

impl PartialEq<RpcSettings> for RpcSettings[src]

impl Serialize for RpcSettings[src]

impl StructuralEq for RpcSettings[src]

impl StructuralPartialEq for RpcSettings[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: for<'de> 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.