pub struct ControllerConfig {
pub queue_capacity: usize,
pub slot_capacity: usize,
}Expand description
Configuration for the controller.
Fields§
§queue_capacity: usizeCapacity of the submission queue.
When full, submit() will wait and try_submit() will return Full error.
slot_capacity: usizeCapacity of the slots.
Trait Implementations§
Source§impl Clone for ControllerConfig
impl Clone for ControllerConfig
Source§fn clone(&self) -> ControllerConfig
fn clone(&self) -> ControllerConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 ControllerConfig
impl Debug for ControllerConfig
Auto Trait Implementations§
impl Freeze for ControllerConfig
impl RefUnwindSafe for ControllerConfig
impl Send for ControllerConfig
impl Sync for ControllerConfig
impl Unpin for ControllerConfig
impl UnsafeUnpin for ControllerConfig
impl UnwindSafe for ControllerConfig
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