pub struct BaseConsumerDumpRef<'a>(/* private fields */);
Expand description
Reference to a deserialized BaseConsumerDump.
Implementations§
Source§impl<'a> BaseConsumerDumpRef<'a>
impl<'a> BaseConsumerDumpRef<'a>
Sourcepub fn type_(&self) -> Result<Type>
pub fn type_(&self) -> Result<Type>
Getter for the type
field.
Sourcepub fn producer_id(&self) -> Result<&'a str>
pub fn producer_id(&self) -> Result<&'a str>
Getter for the producer_id
field.
Sourcepub fn kind(&self) -> Result<MediaKind>
pub fn kind(&self) -> Result<MediaKind>
Getter for the kind
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 consumable_rtp_encodings(
&self,
) -> Result<Vector<'a, Result<RtpEncodingParametersRef<'a>>>>
pub fn consumable_rtp_encodings( &self, ) -> Result<Vector<'a, Result<RtpEncodingParametersRef<'a>>>>
Getter for the consumable_rtp_encodings
field.
Sourcepub fn supported_codec_payload_types(&self) -> Result<&'a [u8]>
pub fn supported_codec_payload_types(&self) -> Result<&'a [u8]>
Getter for the supported_codec_payload_types
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.
Sourcepub fn producer_paused(&self) -> Result<bool>
pub fn producer_paused(&self) -> Result<bool>
Getter for the producer_paused
field.
Sourcepub fn priority(&self) -> Result<u8>
pub fn priority(&self) -> Result<u8>
Getter for the priority
field.
Trait Implementations§
Source§impl<'a> Clone for BaseConsumerDumpRef<'a>
impl<'a> Clone for BaseConsumerDumpRef<'a>
Source§fn clone(&self) -> BaseConsumerDumpRef<'a>
fn clone(&self) -> BaseConsumerDumpRef<'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 BaseConsumerDumpRef<'a>
impl<'a> Debug for BaseConsumerDumpRef<'a>
Source§impl<'a> ReadAsRoot<'a> for BaseConsumerDumpRef<'a>
impl<'a> ReadAsRoot<'a> for BaseConsumerDumpRef<'a>
Source§impl<'a> TryFrom<BaseConsumerDumpRef<'a>> for BaseConsumerDump
impl<'a> TryFrom<BaseConsumerDumpRef<'a>> for BaseConsumerDump
impl<'a> Copy for BaseConsumerDumpRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for BaseConsumerDumpRef<'a>
impl<'a> RefUnwindSafe for BaseConsumerDumpRef<'a>
impl<'a> Send for BaseConsumerDumpRef<'a>
impl<'a> Sync for BaseConsumerDumpRef<'a>
impl<'a> Unpin for BaseConsumerDumpRef<'a>
impl<'a> UnwindSafe for BaseConsumerDumpRef<'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