pub struct Spec {
pub pipeline: Pipeline<Id, Spec>,
pub credentials: Option<Credentials>,
pub on_join: Option<Url>,
pub on_leave: Option<Url>,
pub idle_timeout: Option<Duration>,
pub reconnect_timeout: Option<Duration>,
pub ping_interval: Option<Duration>,
}Fields§
§pipeline: Pipeline<Id, Spec>§credentials: Option<Credentials>Credentials to authenticate this Member in Client API with.
None if no authentication is required.
on_join: Option<Url>Url of the callback to fire when this Member establishes a
persistent connection with a media server via Client API.
on_leave: Option<Url>Url of the callback to fire when this Member finishes a
persistent connection with a media server via Client API.
idle_timeout: Option<Duration>Timeout of receiving heartbeat messages from this Member via
Client API.
Once reached, this Member is considered being idle.
reconnect_timeout: Option<Duration>Timeout of reconnecting for this Member via Client API.
Once reached, this Member is considered disconnected.
ping_interval: Option<Duration>Interval of pinging with heartbeat messages this Member via
Client API by a media server.
If None then the default interval of a media server is used, if
configured.
Trait Implementations§
Source§impl From<Spec> for PipelineSpec
impl From<Spec> for PipelineSpec
impl Eq for Spec
impl StructuralPartialEq for Spec
Auto Trait Implementations§
impl Freeze for Spec
impl RefUnwindSafe for Spec
impl Send for Spec
impl Sync for Spec
impl Unpin for Spec
impl UnwindSafe for Spec
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request