mediasoup_sys::fbs::consumer

Struct BaseConsumerDumpBuilder

Source
pub struct BaseConsumerDumpBuilder<State>(/* private fields */);
Expand description

Builder for serializing an instance of the BaseConsumerDump type.

Can be created using the BaseConsumerDump::builder method.

Implementations§

Source§

impl BaseConsumerDumpBuilder<()>

Source

pub fn id<T0>(self, value: T0) -> BaseConsumerDumpBuilder<(T0,)>
where T0: WriteAs<Offset<str>>,

Setter for the id field.

Source§

impl<T0> BaseConsumerDumpBuilder<(T0,)>

Source

pub fn type_<T1>(self, value: T1) -> BaseConsumerDumpBuilder<(T0, T1)>
where T1: WriteAsDefault<Type, Type>,

Setter for the type field.

Source

pub fn type_as_default(self) -> BaseConsumerDumpBuilder<(T0, DefaultValue)>

Sets the type field to the default value.

Source§

impl<T0, T1> BaseConsumerDumpBuilder<(T0, T1)>

Source

pub fn producer_id<T2>(self, value: T2) -> BaseConsumerDumpBuilder<(T0, T1, T2)>
where T2: WriteAs<Offset<str>>,

Setter for the producer_id field.

Source§

impl<T0, T1, T2> BaseConsumerDumpBuilder<(T0, T1, T2)>

Source

pub fn kind<T3>(self, value: T3) -> BaseConsumerDumpBuilder<(T0, T1, T2, T3)>

Setter for the kind field.

Source

pub fn kind_as_default( self, ) -> BaseConsumerDumpBuilder<(T0, T1, T2, DefaultValue)>

Sets the kind field to the default value.

Source§

impl<T0, T1, T2, T3> BaseConsumerDumpBuilder<(T0, T1, T2, T3)>

Source§

impl<T0, T1, T2, T3, T4> BaseConsumerDumpBuilder<(T0, T1, T2, T3, T4)>

Source§

impl<T0, T1, T2, T3, T4, T5> BaseConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5)>

Source§

impl<T0, T1, T2, T3, T4, T5, T6> BaseConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5, T6)>

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7> BaseConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5, T6, T7)>

Source

pub fn paused<T8>( self, value: T8, ) -> BaseConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5, T6, T7, T8)>
where T8: WriteAsDefault<bool, bool>,

Setter for the paused field.

Source

pub fn paused_as_default( self, ) -> BaseConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5, T6, T7, DefaultValue)>

Sets the paused field to the default value.

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8> BaseConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5, T6, T7, T8)>

Source

pub fn producer_paused<T9>( self, value: T9, ) -> BaseConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)>
where T9: WriteAsDefault<bool, bool>,

Setter for the producer_paused field.

Source

pub fn producer_paused_as_default( self, ) -> BaseConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5, T6, T7, T8, DefaultValue)>

Sets the producer_paused field to the default value.

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> BaseConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)>

Source

pub fn priority<T10>( self, value: T10, ) -> BaseConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)>
where T10: WriteAsDefault<u8, u8>,

Setter for the priority field.

Source

pub fn priority_as_default( self, ) -> BaseConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, DefaultValue)>

Sets the priority field to the default value.

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> BaseConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)>

Source

pub fn finish(self, builder: &mut Builder) -> Offset<BaseConsumerDump>

Finish writing the builder to get an Offset to a serialized BaseConsumerDump.

Trait Implementations§

Source§

impl<State: Debug> Debug for BaseConsumerDumpBuilder<State>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<T0: WriteAs<Offset<str>>, T1: WriteAsDefault<Type, Type>, T2: WriteAs<Offset<str>>, T3: WriteAsDefault<MediaKind, MediaKind>, T4: WriteAs<Offset<RtpParameters>>, T5: WriteAs<Offset<[Offset<RtpEncodingParameters>]>>, T6: WriteAs<Offset<[u8]>>, T7: WriteAs<Offset<[TraceEventType]>>, T8: WriteAsDefault<bool, bool>, T9: WriteAsDefault<bool, bool>, T10: WriteAsDefault<u8, u8>> WriteAs<Offset<BaseConsumerDump>> for BaseConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)>

Source§

impl<T0: WriteAs<Offset<str>>, T1: WriteAsDefault<Type, Type>, T2: WriteAs<Offset<str>>, T3: WriteAsDefault<MediaKind, MediaKind>, T4: WriteAs<Offset<RtpParameters>>, T5: WriteAs<Offset<[Offset<RtpEncodingParameters>]>>, T6: WriteAs<Offset<[u8]>>, T7: WriteAs<Offset<[TraceEventType]>>, T8: WriteAsDefault<bool, bool>, T9: WriteAsDefault<bool, bool>, T10: WriteAsDefault<u8, u8>> WriteAsOffset<BaseConsumerDump> for BaseConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)>

Source§

impl<T0: WriteAs<Offset<str>>, T1: WriteAsDefault<Type, Type>, T2: WriteAs<Offset<str>>, T3: WriteAsDefault<MediaKind, MediaKind>, T4: WriteAs<Offset<RtpParameters>>, T5: WriteAs<Offset<[Offset<RtpEncodingParameters>]>>, T6: WriteAs<Offset<[u8]>>, T7: WriteAs<Offset<[TraceEventType]>>, T8: WriteAsDefault<bool, bool>, T9: WriteAsDefault<bool, bool>, T10: WriteAsDefault<u8, u8>> WriteAsOptional<Offset<BaseConsumerDump>> for BaseConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)>

Auto Trait Implementations§

§

impl<State> Freeze for BaseConsumerDumpBuilder<State>
where State: Freeze,

§

impl<State> RefUnwindSafe for BaseConsumerDumpBuilder<State>
where State: RefUnwindSafe,

§

impl<State> Send for BaseConsumerDumpBuilder<State>
where State: Send,

§

impl<State> Sync for BaseConsumerDumpBuilder<State>
where State: Sync,

§

impl<State> Unpin for BaseConsumerDumpBuilder<State>
where State: Unpin,

§

impl<State> UnwindSafe for BaseConsumerDumpBuilder<State>
where State: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.