pub enum RtspMethod {
Options,
Describe,
Setup,
Play,
Teardown,
}Available on crate features
ingest and rtsp only.Expand description
An RTSP request method this client issues (RFC 2326 §10).
Variants§
Options
OPTIONS — discover supported methods.
Describe
DESCRIBE — fetch the SDP session description.
Setup
SETUP — negotiate transport for one media track.
Play
PLAY — start the media flow.
Teardown
TEARDOWN — stop and release the session.
Implementations§
Trait Implementations§
Source§impl Clone for RtspMethod
impl Clone for RtspMethod
Source§fn clone(&self) -> RtspMethod
fn clone(&self) -> RtspMethod
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 moreimpl Copy for RtspMethod
Source§impl Debug for RtspMethod
impl Debug for RtspMethod
impl Eq for RtspMethod
Source§impl PartialEq for RtspMethod
impl PartialEq for RtspMethod
Source§fn eq(&self, other: &RtspMethod) -> bool
fn eq(&self, other: &RtspMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RtspMethod
Auto Trait Implementations§
impl Freeze for RtspMethod
impl RefUnwindSafe for RtspMethod
impl Send for RtspMethod
impl Sync for RtspMethod
impl Unpin for RtspMethod
impl UnsafeUnpin for RtspMethod
impl UnwindSafe for RtspMethod
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