pub struct ProtocolControlMessageAcknowledgement {
pub sequence_number: u32,
}
Expand description
Acknowledges the receipt of data.
Defined by:
- Legacy RTMP spec, 5.4.3. Acknowledgement (3)
Fields§
§sequence_number: u32
This field holds the number of bytes received so far.
Implementations§
Source§impl ProtocolControlMessageAcknowledgement
impl ProtocolControlMessageAcknowledgement
Sourcepub fn write(
&self,
io: &mut impl Write,
writer: &ChunkWriter,
) -> Result<(), RtmpError>
pub fn write( &self, io: &mut impl Write, writer: &ChunkWriter, ) -> Result<(), RtmpError>
Writes the ProtocolControlMessageAcknowledgement
to the given writer.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProtocolControlMessageAcknowledgement
impl RefUnwindSafe for ProtocolControlMessageAcknowledgement
impl Send for ProtocolControlMessageAcknowledgement
impl Sync for ProtocolControlMessageAcknowledgement
impl Unpin for ProtocolControlMessageAcknowledgement
impl UnwindSafe for ProtocolControlMessageAcknowledgement
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