pub struct RtpNotificationBuilder<State>(/* private fields */);
Expand description
Builder for serializing an instance of the RtpNotification type.
Can be created using the RtpNotification::builder method.
Implementations§
Source§impl RtpNotificationBuilder<()>
impl RtpNotificationBuilder<()>
Sourcepub fn data<T0>(self, value: T0) -> RtpNotificationBuilder<(T0,)>
pub fn data<T0>(self, value: T0) -> RtpNotificationBuilder<(T0,)>
Setter for the data
field.
Source§impl<T0> RtpNotificationBuilder<(T0,)>
impl<T0> RtpNotificationBuilder<(T0,)>
Sourcepub fn finish(self, builder: &mut Builder) -> Offset<RtpNotification>where
Self: WriteAsOffset<RtpNotification>,
pub fn finish(self, builder: &mut Builder) -> Offset<RtpNotification>where
Self: WriteAsOffset<RtpNotification>,
Finish writing the builder to get an Offset to a serialized RtpNotification.
Trait Implementations§
Source§impl<State: Debug> Debug for RtpNotificationBuilder<State>
impl<State: Debug> Debug for RtpNotificationBuilder<State>
impl<T0: WriteAs<Offset<[u8]>>> WriteAs<Offset<RtpNotification>> for RtpNotificationBuilder<(T0,)>
impl<T0: WriteAs<Offset<[u8]>>> WriteAsOffset<RtpNotification> for RtpNotificationBuilder<(T0,)>
impl<T0: WriteAs<Offset<[u8]>>> WriteAsOptional<Offset<RtpNotification>> for RtpNotificationBuilder<(T0,)>
Auto Trait Implementations§
impl<State> Freeze for RtpNotificationBuilder<State>where
State: Freeze,
impl<State> RefUnwindSafe for RtpNotificationBuilder<State>where
State: RefUnwindSafe,
impl<State> Send for RtpNotificationBuilder<State>where
State: Send,
impl<State> Sync for RtpNotificationBuilder<State>where
State: Sync,
impl<State> Unpin for RtpNotificationBuilder<State>where
State: Unpin,
impl<State> UnwindSafe for RtpNotificationBuilder<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