Struct medea_control_api_proto::Endpoint
source · pub struct Endpoint {
pub id: Id,
pub spec: Spec,
}
Expand description
Media Element
flowing one or more media data streams through itself.
Fields§
§id: Id
§spec: Spec
Trait Implementations§
source§impl From<WebRtcPlay> for Endpoint
impl From<WebRtcPlay> for Endpoint
source§fn from(play: WebRtcPlay) -> Self
fn from(play: WebRtcPlay) -> Self
Converts to this type from the input type.
source§impl From<WebRtcPublish> for Endpoint
impl From<WebRtcPublish> for Endpoint
source§fn from(publish: WebRtcPublish) -> Self
fn from(publish: WebRtcPublish) -> Self
Converts to this type from the input type.
source§impl PartialEq for Endpoint
impl PartialEq for Endpoint
impl Eq for Endpoint
impl StructuralPartialEq for Endpoint
Auto Trait Implementations§
impl RefUnwindSafe for Endpoint
impl Send for Endpoint
impl Sync for Endpoint
impl Unpin for Endpoint
impl UnwindSafe for Endpoint
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