#[non_exhaustive]pub enum Scheme {
Rtmp,
Rtmps,
Other(String),
}Available on crate feature
target only.Expand description
An RTMP URL scheme: SCHEME_RTMP or SCHEME_RTMPS.
Data-carrying (Other(String)), so like every other Other(_) discriminant
in the workspace it has no fixed label set and no name().
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.
Trait Implementations§
impl Eq for Scheme
impl StructuralPartialEq for Scheme
Auto Trait Implementations§
impl Forget for Scheme
impl Freeze for Scheme
impl Move for Scheme
impl RefUnwindSafe for Scheme
impl Send for Scheme
impl Sync for Scheme
impl Unpin for Scheme
impl UnsafeUnpin for Scheme
impl UnwindSafe for Scheme
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