pub struct ResourceLimits {
pub max_stream_cache_bytes: usize,
pub max_reassembly_bytes: usize,
pub max_pending_relay_bytes: usize,
}Expand description
Per-connection and server-wide memory limits (Rust-only; not part of the C ABI).
Fields§
§max_stream_cache_bytes: usizeTotal bytes retained across all stream-cache entries.
max_reassembly_bytes: usizeMax reassembly buffer bytes per RTMP connection.
max_pending_relay_bytes: usizeMax queued relay payload bytes per publisher connection.
Trait Implementations§
Source§impl Clone for ResourceLimits
impl Clone for ResourceLimits
Source§fn clone(&self) -> ResourceLimits
fn clone(&self) -> ResourceLimits
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ResourceLimits
Source§impl Debug for ResourceLimits
impl Debug for ResourceLimits
Auto Trait Implementations§
impl Freeze for ResourceLimits
impl RefUnwindSafe for ResourceLimits
impl Send for ResourceLimits
impl Sync for ResourceLimits
impl Unpin for ResourceLimits
impl UnsafeUnpin for ResourceLimits
impl UnwindSafe for ResourceLimits
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