pub struct CreateOpts {
pub level: Option<i32>,
pub entry_codec: Option<FormatId>,
pub governor: Option<Arc<Governor>>,
}Fields§
§level: Option<i32>§entry_codec: Option<FormatId>Codec for entry payloads, for containers with per_entry_codec.
governor: Option<Arc<Governor>>The shared worker/memory budget. None means single-threaded — a
container parallelises only if handed a governor, never from an
ambient global. Needed so a container with per_entry_codec can build
an EncodeOpts per entry, carrying the same governor forward.
Trait Implementations§
Source§impl Clone for CreateOpts
impl Clone for CreateOpts
Source§impl Debug for CreateOpts
impl Debug for CreateOpts
Auto Trait Implementations§
impl Freeze for CreateOpts
impl RefUnwindSafe for CreateOpts
impl Send for CreateOpts
impl Sync for CreateOpts
impl Unpin for CreateOpts
impl UnsafeUnpin for CreateOpts
impl UnwindSafe for CreateOpts
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