Struct puff_rs::runtime::TaskQueueOpts
source · Fields
pool_size: u32
max_concurrent_tasks: u32
Implementations
sourceimpl TaskQueueOpts
impl TaskQueueOpts
pub fn set_pool_size(self, size: u32) -> Self
pub fn set_max_concurrent_tasks(self, max_streams: u32) -> Self
Trait Implementations
sourceimpl Clone for TaskQueueOpts
impl Clone for TaskQueueOpts
sourcefn clone(&self) -> TaskQueueOpts
fn clone(&self) -> TaskQueueOpts
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for TaskQueueOpts
impl Send for TaskQueueOpts
impl Sync for TaskQueueOpts
impl Unpin for TaskQueueOpts
impl UnwindSafe for TaskQueueOpts
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more