pub struct QuirksConfig {
pub allow_early_commands: bool,
pub allow_fc_before_connect: bool,
pub lenient_amf: bool,
pub allow_timestamp_regression: bool,
pub allow_duplicate_metadata: bool,
pub allow_empty_app: bool,
pub allow_oversized_chunks: bool,
}Expand description
Configuration for handling encoder quirks
Fields§
§allow_early_commands: boolAccept commands before handshake completes
allow_fc_before_connect: boolAccept FCPublish/releaseStream before connect
lenient_amf: boolAccept malformed AMF (missing end markers)
allow_timestamp_regression: boolAccept timestamp regression
allow_duplicate_metadata: boolAccept duplicate metadata
allow_empty_app: boolAccept empty app names
allow_oversized_chunks: boolAccept oversized chunks (larger than negotiated)
Implementations§
Source§impl QuirksConfig
impl QuirksConfig
Trait Implementations§
Source§impl Clone for QuirksConfig
impl Clone for QuirksConfig
Source§fn clone(&self) -> QuirksConfig
fn clone(&self) -> QuirksConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for QuirksConfig
impl Debug for QuirksConfig
Auto Trait Implementations§
impl Freeze for QuirksConfig
impl RefUnwindSafe for QuirksConfig
impl Send for QuirksConfig
impl Sync for QuirksConfig
impl Unpin for QuirksConfig
impl UnwindSafe for QuirksConfig
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