pub struct ProtocolControlMessageWindowAcknowledgementSize {
pub acknowledgement_window_size: u32,
}
Expand description
The client or the server sends this message to inform the peer of the window size to use between sending acknowledgments.
Defined by:
- Legacy RTMP spec, 5.4.4. Window Acknowledgement Size (5)
Fields§
§acknowledgement_window_size: u32
The new window size to use.
Implementations§
Source§impl ProtocolControlMessageWindowAcknowledgementSize
impl ProtocolControlMessageWindowAcknowledgementSize
Sourcepub fn read(data: &[u8]) -> Result<Self>
pub fn read(data: &[u8]) -> Result<Self>
Reads a ProtocolControlMessageWindowAcknowledgementSize
from the given data.
Source§impl ProtocolControlMessageWindowAcknowledgementSize
impl ProtocolControlMessageWindowAcknowledgementSize
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 ProtocolControlMessageWindowAcknowledgementSize
to the given writer.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProtocolControlMessageWindowAcknowledgementSize
impl RefUnwindSafe for ProtocolControlMessageWindowAcknowledgementSize
impl Send for ProtocolControlMessageWindowAcknowledgementSize
impl Sync for ProtocolControlMessageWindowAcknowledgementSize
impl Unpin for ProtocolControlMessageWindowAcknowledgementSize
impl UnwindSafe for ProtocolControlMessageWindowAcknowledgementSize
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