pub struct StopTarget {
pub room_id: String,
pub id: Option<String>,
}Expand description
What to stop: an EgressHandle, or a bare room id.
client.hls().stop(&handle).await?;
client.hls().stop("abcd-efgh-ijkl").await?;Fields§
§room_id: StringThe room the egress runs in.
id: Option<String>The specific egress to stop, when known.
Trait Implementations§
Source§impl Clone for StopTarget
impl Clone for StopTarget
Source§fn clone(&self) -> StopTarget
fn clone(&self) -> StopTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StopTarget
impl Debug for StopTarget
Source§impl From<&EgressHandle> for StopTarget
impl From<&EgressHandle> for StopTarget
Source§fn from(handle: &EgressHandle) -> Self
fn from(handle: &EgressHandle) -> Self
Converts to this type from the input type.
Source§impl From<&str> for StopTarget
impl From<&str> for StopTarget
Source§impl From<EgressHandle> for StopTarget
impl From<EgressHandle> for StopTarget
Source§fn from(handle: EgressHandle) -> Self
fn from(handle: EgressHandle) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StopTarget
impl RefUnwindSafe for StopTarget
impl Send for StopTarget
impl Sync for StopTarget
impl Unpin for StopTarget
impl UnsafeUnpin for StopTarget
impl UnwindSafe for StopTarget
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