pub struct DecoderOptions {
pub codec: Option<DecoderCodec>,
pub thread_count: i32,
}
Expand description
Options for creating a Decoder
.
Fields§
§codec: Option<DecoderCodec>
The codec to use for decoding.
thread_count: i32
The number of threads to use for decoding.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DecoderOptions
impl RefUnwindSafe for DecoderOptions
impl !Send for DecoderOptions
impl !Sync for DecoderOptions
impl Unpin for DecoderOptions
impl UnwindSafe for DecoderOptions
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