pub struct AudioConsumerStatus {
    pub error: Option<AudioConsumerError>,
    pub presentation_timeline: Option<TimelineFunction>,
    pub min_lead_time: Option<u64>,
    pub max_lead_time: Option<u64>,
    /* private fields */
}Expand description
Represents the status of the consumer. In the initial status, error and
presentation_timeline are absent. The lead time fields are always present.
Fields§
§error: Option<AudioConsumerError>If present, indicates an error condition currently in effect. Absent if no error.
presentation_timeline: Option<TimelineFunction>If present, indicates the current relationship between the presentation timeline and local monotonic clock, both in nanosecond units. If not present, indicates there is no relationship. Absent initially.
‘Presentation timeline’ refers to the pts (presentation timestamp) values on the packets.
This timeline function can be used to determine the local monotonic clock time that a
packet will be presented based on that packet’s pts value.
min_lead_time: Option<u64>Indicates the minimum lead time in nanoseconds supported by this
AudioConsumer.  Or in other words, how small of a gap between the
media_time provided to AudioConsumer.Start and the pts on the first
packet can be. Values outside this range will be clipped.
max_lead_time: Option<u64>Indicates the maximum lead time in nanoseconds supported by this
AudioConsumer.  Or in other words, how large of a gap between the
media_time provided to AudioConsumer.Start and the pts on the first
packet can be. Values outside this range will be clipped.
Trait Implementations§
Source§impl Clone for AudioConsumerStatus
 
impl Clone for AudioConsumerStatus
Source§fn clone(&self) -> AudioConsumerStatus
 
fn clone(&self) -> AudioConsumerStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AudioConsumerStatus
 
impl Debug for AudioConsumerStatus
Source§impl<D> Decode<AudioConsumerStatus, D> for AudioConsumerStatuswhere
    D: ResourceDialect,
 
impl<D> Decode<AudioConsumerStatus, D> for AudioConsumerStatuswhere
    D: ResourceDialect,
Source§fn new_empty() -> AudioConsumerStatus
 
fn new_empty() -> AudioConsumerStatus
Self. The specific value does not matter,
since it will be overwritten by decode.Source§impl Default for AudioConsumerStatus
 
impl Default for AudioConsumerStatus
Source§fn default() -> AudioConsumerStatus
 
fn default() -> AudioConsumerStatus
Source§impl<D> Encode<AudioConsumerStatus, D> for &AudioConsumerStatuswhere
    D: ResourceDialect,
 
impl<D> Encode<AudioConsumerStatus, D> for &AudioConsumerStatuswhere
    D: ResourceDialect,
Source§impl PartialEq for AudioConsumerStatus
 
impl PartialEq for AudioConsumerStatus
Source§impl TypeMarker for AudioConsumerStatus
 
impl TypeMarker for AudioConsumerStatus
Source§type Owned = AudioConsumerStatus
 
type Owned = AudioConsumerStatus
Source§fn inline_align(_context: Context) -> usize
 
fn inline_align(_context: Context) -> usize
Source§fn inline_size(_context: Context) -> usize
 
fn inline_size(_context: Context) -> usize
inline_align.Source§fn encode_is_copy() -> bool
 
fn encode_is_copy() -> bool
Self::Owned matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned to a single memcpy. Read moreSource§fn decode_is_copy() -> bool
 
fn decode_is_copy() -> bool
Self::Owned matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned to a single memcpy.Source§impl ValueTypeMarker for AudioConsumerStatus
 
impl ValueTypeMarker for AudioConsumerStatus
Source§type Borrowed<'a> = &'a AudioConsumerStatus
 
type Borrowed<'a> = &'a AudioConsumerStatus
Encode<Self>
type cheaply obtainable from &Self::Owned. There are three cases: Read moreSource§fn borrow(
    value: &<AudioConsumerStatus as TypeMarker>::Owned,
) -> <AudioConsumerStatus as ValueTypeMarker>::Borrowed<'_>
 
fn borrow( value: &<AudioConsumerStatus as TypeMarker>::Owned, ) -> <AudioConsumerStatus as ValueTypeMarker>::Borrowed<'_>
&Self::Owned to Self::Borrowed.