Struct medea_control_api_proto::member::Spec
source · 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
source§fn from(original: Spec) -> PipelineSpec
fn from(original: Spec) -> PipelineSpec
Converts to this type from the input type.
source§impl PartialEq<Spec> for Spec
impl PartialEq<Spec> for Spec
impl Eq for Spec
impl StructuralEq for Spec
impl StructuralPartialEq for Spec
Auto Trait Implementations§
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