pub struct OpenOpts {
pub password: Option<String>,
pub governor: Option<Arc<Governor>>,
}Fields§
§password: Option<String>§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
a DecodeOpts per entry, carrying the same governor forward.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OpenOpts
impl RefUnwindSafe for OpenOpts
impl Send for OpenOpts
impl Sync for OpenOpts
impl Unpin for OpenOpts
impl UnsafeUnpin for OpenOpts
impl UnwindSafe for OpenOpts
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