pub struct MultiFrameDecoderOptions { /* private fields */ }Available on crate feature
std only.Expand description
Resource and format policy for MultiFrameDecoder.
Implementations§
Source§impl MultiFrameDecoderOptions
impl MultiFrameDecoderOptions
pub const fn skippable_frame_policy(&self) -> SkippableFramePolicy
pub const fn max_frames(&self) -> Option<NonZeroUsize>
pub const fn max_skippable_frame_size(&self) -> usize
pub const fn max_window_size(&self) -> u64
pub const fn max_decoded_bytes(&self) -> Option<NonZeroUsize>
pub const fn with_skippable_frame_policy( self, policy: SkippableFramePolicy, ) -> Self
pub const fn with_max_frames(self, limit: Option<NonZeroUsize>) -> Self
pub const fn with_max_skippable_frame_size(self, bytes: usize) -> Self
pub const fn with_max_window_size(self, bytes: u64) -> Self
pub const fn with_max_decoded_bytes(self, limit: Option<NonZeroUsize>) -> Self
Trait Implementations§
Source§impl Clone for MultiFrameDecoderOptions
impl Clone for MultiFrameDecoderOptions
Source§impl Debug for MultiFrameDecoderOptions
impl Debug for MultiFrameDecoderOptions
Auto Trait Implementations§
impl Freeze for MultiFrameDecoderOptions
impl RefUnwindSafe for MultiFrameDecoderOptions
impl Send for MultiFrameDecoderOptions
impl Sync for MultiFrameDecoderOptions
impl Unpin for MultiFrameDecoderOptions
impl UnsafeUnpin for MultiFrameDecoderOptions
impl UnwindSafe for MultiFrameDecoderOptions
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