Struct mediasoup_sys::fbs::rtp_parameters::RtxBuilder
source · pub struct RtxBuilder<State>(/* private fields */);
Expand description
Builder for serializing an instance of the Rtx type.
Can be created using the Rtx::builder method.
Implementations§
source§impl RtxBuilder<()>
impl RtxBuilder<()>
sourcepub fn ssrc<T0>(self, value: T0) -> RtxBuilder<(T0,)>
pub fn ssrc<T0>(self, value: T0) -> RtxBuilder<(T0,)>
Setter for the ssrc
field.
sourcepub fn ssrc_as_default(self) -> RtxBuilder<(DefaultValue,)>
pub fn ssrc_as_default(self) -> RtxBuilder<(DefaultValue,)>
Sets the ssrc
field to the default value.
Trait Implementations§
source§impl<State: Debug> Debug for RtxBuilder<State>
impl<State: Debug> Debug for RtxBuilder<State>
impl<T0: WriteAsDefault<u32, u32>> WriteAs<Offset<Rtx>> for RtxBuilder<(T0,)>
impl<T0: WriteAsDefault<u32, u32>> WriteAsOffset<Rtx> for RtxBuilder<(T0,)>
impl<T0: WriteAsDefault<u32, u32>> WriteAsOptional<Offset<Rtx>> for RtxBuilder<(T0,)>
Auto Trait Implementations§
impl<State> RefUnwindSafe for RtxBuilder<State>where
State: RefUnwindSafe,
impl<State> Send for RtxBuilder<State>where
State: Send,
impl<State> Sync for RtxBuilder<State>where
State: Sync,
impl<State> Unpin for RtxBuilder<State>where
State: Unpin,
impl<State> UnwindSafe for RtxBuilder<State>where
State: UnwindSafe,
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