Enum rtsp_types::headers::notify_reason::NotifyReason
source · pub enum NotifyReason {
EndOfStream,
MediaPropertiesUpdate,
ScaleChange,
Extension(String),
}
Expand description
Notify-Reason
header (RFC 7826 section 18.32).
Variants§
Implementations§
Trait Implementations§
source§impl Clone for NotifyReason
impl Clone for NotifyReason
source§fn clone(&self) -> NotifyReason
fn clone(&self) -> NotifyReason
Returns a copy of the value. Read more
1.0.0 · 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 NotifyReason
impl Debug for NotifyReason
source§impl Display for NotifyReason
impl Display for NotifyReason
source§impl FromStr for NotifyReason
impl FromStr for NotifyReason
source§impl Ord for NotifyReason
impl Ord for NotifyReason
source§fn cmp(&self, other: &NotifyReason) -> Ordering
fn cmp(&self, other: &NotifyReason) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for NotifyReason
impl PartialEq for NotifyReason
source§impl PartialOrd for NotifyReason
impl PartialOrd for NotifyReason
source§impl TypedHeader for NotifyReason
impl TypedHeader for NotifyReason
source§fn from_headers(
headers: impl AsRef<Headers>,
) -> Result<Option<Self>, HeaderParseError>
fn from_headers( headers: impl AsRef<Headers>, ) -> Result<Option<Self>, HeaderParseError>
Parses the header from headers.
source§fn insert_into(&self, headers: impl AsMut<Headers>)
fn insert_into(&self, headers: impl AsMut<Headers>)
Inserts the header into headers.
impl Eq for NotifyReason
impl StructuralPartialEq for NotifyReason
Auto Trait Implementations§
impl Freeze for NotifyReason
impl RefUnwindSafe for NotifyReason
impl Send for NotifyReason
impl Sync for NotifyReason
impl Unpin for NotifyReason
impl UnwindSafe for NotifyReason
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)