pub struct DumpResponseRef<'a>(/* private fields */);
Expand description
Reference to a deserialized DumpResponse.
Implementations§
Source§impl<'a> DumpResponseRef<'a>
impl<'a> DumpResponseRef<'a>
Sourcepub fn kind(&self) -> Result<MediaKind>
pub fn kind(&self) -> Result<MediaKind>
Getter for the kind
field.
Sourcepub fn type_(&self) -> Result<Type>
pub fn type_(&self) -> Result<Type>
Getter for the type
field.
Sourcepub fn rtp_parameters(&self) -> Result<RtpParametersRef<'a>>
pub fn rtp_parameters(&self) -> Result<RtpParametersRef<'a>>
Getter for the rtp_parameters
field.
Sourcepub fn rtp_mapping(&self) -> Result<RtpMappingRef<'a>>
pub fn rtp_mapping(&self) -> Result<RtpMappingRef<'a>>
Getter for the rtp_mapping
field.
Sourcepub fn rtp_streams(&self) -> Result<Vector<'a, Result<DumpRef<'a>>>>
pub fn rtp_streams(&self) -> Result<Vector<'a, Result<DumpRef<'a>>>>
Getter for the rtp_streams
field.
Sourcepub fn trace_event_types(
&self,
) -> Result<Vector<'a, Result<TraceEventType, UnknownEnumTag>>>
pub fn trace_event_types( &self, ) -> Result<Vector<'a, Result<TraceEventType, UnknownEnumTag>>>
Getter for the trace_event_types
field.
Sourcepub fn paused(&self) -> Result<bool>
pub fn paused(&self) -> Result<bool>
Getter for the paused
field.
Trait Implementations§
Source§impl<'a> Clone for DumpResponseRef<'a>
impl<'a> Clone for DumpResponseRef<'a>
Source§fn clone(&self) -> DumpResponseRef<'a>
fn clone(&self) -> DumpResponseRef<'a>
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<'a> Debug for DumpResponseRef<'a>
impl<'a> Debug for DumpResponseRef<'a>
Source§impl<'a> ReadAsRoot<'a> for DumpResponseRef<'a>
impl<'a> ReadAsRoot<'a> for DumpResponseRef<'a>
Source§impl<'a> TryFrom<DumpResponseRef<'a>> for DumpResponse
impl<'a> TryFrom<DumpResponseRef<'a>> for DumpResponse
impl<'a> Copy for DumpResponseRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for DumpResponseRef<'a>
impl<'a> RefUnwindSafe for DumpResponseRef<'a>
impl<'a> Send for DumpResponseRef<'a>
impl<'a> Sync for DumpResponseRef<'a>
impl<'a> Unpin for DumpResponseRef<'a>
impl<'a> UnwindSafe for DumpResponseRef<'a>
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