pub struct Limits {
pub bytes: usize,
}
Expand description
Limits on the resources Decoder
is allowed to use.
Fields§
§bytes: usize
Maximum allowed size of frame buffer, default is 1 GiB.
Trait Implementations§
impl Copy for Limits
Auto Trait Implementations§
impl RefUnwindSafe for Limits
impl Send for Limits
impl Sync for Limits
impl Unpin for Limits
impl UnwindSafe for Limits
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