Struct medea_client_api_proto::RpcSettings
source · pub struct RpcSettings {
pub idle_timeout_ms: u32,
pub ping_interval_ms: u32,
}
Expand description
RPC settings of Web Client received from Media Server.
Fields§
§idle_timeout_ms: u32
Timeout of considering Web Client as lost by Media Server when it
doesn’t receive any ClientMsg::Pong
s.
Unit: millisecond.
ping_interval_ms: u32
Interval that Media Server sends ServerMsg::Ping
s with.
Unit: millisecond.
Trait Implementations§
source§impl Clone for RpcSettings
impl Clone for RpcSettings
source§fn clone(&self) -> RpcSettings
fn clone(&self) -> RpcSettings
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RpcSettings
impl Debug for RpcSettings
source§impl<'de> Deserialize<'de> for RpcSettings
impl<'de> Deserialize<'de> for RpcSettings
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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 PartialEq<RpcSettings> for RpcSettings
impl PartialEq<RpcSettings> for RpcSettings
source§fn eq(&self, other: &RpcSettings) -> bool
fn eq(&self, other: &RpcSettings) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RpcSettings
impl Serialize for RpcSettings
impl Copy for RpcSettings
impl Eq for RpcSettings
impl StructuralEq for RpcSettings
impl StructuralPartialEq for RpcSettings
Auto Trait Implementations§
impl RefUnwindSafe for RpcSettings
impl Send for RpcSettings
impl Sync for RpcSettings
impl Unpin for RpcSettings
impl UnwindSafe for RpcSettings
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more