pub struct ErtmpWireLimits {
pub max_wire_bytes: usize,
pub max_total_wire_bytes: usize,
pub max_message_bytes: usize,
pub max_buffered_message_bytes: usize,
pub max_active_chunk_streams: usize,
pub max_events: usize,
pub max_total_event_payload_bytes: usize,
pub max_chunk_size: usize,
}Expand description
Hard bounds applied before allocating from untrusted wire lengths.
Fields§
§max_wire_bytes: usizeMaximum bytes accepted for one connection or FLV file.
max_total_wire_bytes: usizeMaximum bytes accepted across all supplied RTMP connections.
max_message_bytes: usizeMaximum reassembled RTMP message or FLV tag body.
max_buffered_message_bytes: usizeMaximum bytes buffered across incomplete RTMP messages.
max_active_chunk_streams: usizeMaximum chunk streams retaining compression or reassembly state.
max_events: usizeMaximum emitted verifier events.
max_total_event_payload_bytes: usizeMaximum aggregate bytes owned by emitted event names, payloads, and index-aligned wire contexts.
max_chunk_size: usizeMaximum negotiated RTMP chunk size.
Trait Implementations§
Source§impl Clone for ErtmpWireLimits
impl Clone for ErtmpWireLimits
impl Copy for ErtmpWireLimits
Source§impl Debug for ErtmpWireLimits
impl Debug for ErtmpWireLimits
Auto Trait Implementations§
impl Freeze for ErtmpWireLimits
impl RefUnwindSafe for ErtmpWireLimits
impl Send for ErtmpWireLimits
impl Sync for ErtmpWireLimits
impl Unpin for ErtmpWireLimits
impl UnsafeUnpin for ErtmpWireLimits
impl UnwindSafe for ErtmpWireLimits
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