#[non_exhaustive]pub enum ClientMode {
Publish,
Play,
}Expand description
What a ClientSession does after connect and createStream.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Publish
publish a stream (§7.2.2.6): the session sends audio, video and metadata.
Play
play a stream (§7.2.2.1): the session receives audio, video and data.
Implementations§
Trait Implementations§
Source§impl Clone for ClientMode
impl Clone for ClientMode
impl Copy for ClientMode
Source§impl Debug for ClientMode
impl Debug for ClientMode
Source§impl Default for ClientMode
impl Default for ClientMode
Source§impl Display for ClientMode
impl Display for ClientMode
impl Eq for ClientMode
Source§impl PartialEq for ClientMode
impl PartialEq for ClientMode
impl StructuralPartialEq for ClientMode
Auto Trait Implementations§
impl Forget for ClientMode
impl Freeze for ClientMode
impl RefUnwindSafe for ClientMode
impl Send for ClientMode
impl Sync for ClientMode
impl Unpin for ClientMode
impl UnsafeUnpin for ClientMode
impl UnwindSafe for ClientMode
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