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§fn clone(&self) -> CreateOpts
fn clone(&self) -> CreateOpts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CreateOpts
impl Debug for CreateOpts
Source§impl Default for CreateOpts
impl Default for CreateOpts
Source§fn default() -> CreateOpts
fn default() -> CreateOpts
Returns the “default value” for a type. Read more
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