pub struct GraphConfig {
pub queue_capacity: usize,
pub budget: u32,
}Expand description
Limits every node and queue of a graph shares.
Fields§
§queue_capacity: usizeItems a queue between nodes holds before the writer waits.
budget: u32Operations a node completes in one poll before it yields to the others.
Trait Implementations§
Source§impl Clone for GraphConfig
impl Clone for GraphConfig
impl Copy for GraphConfig
Source§impl Debug for GraphConfig
impl Debug for GraphConfig
Source§impl Default for GraphConfig
impl Default for GraphConfig
impl Eq for GraphConfig
Source§impl PartialEq for GraphConfig
impl PartialEq for GraphConfig
impl StructuralPartialEq for GraphConfig
Auto Trait Implementations§
impl Freeze for GraphConfig
impl RefUnwindSafe for GraphConfig
impl Send for GraphConfig
impl Sync for GraphConfig
impl Unpin for GraphConfig
impl UnsafeUnpin for GraphConfig
impl UnwindSafe for GraphConfig
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