pub struct PipelineBridgeOptions {
pub depth: usize,
pub policy: OverflowPolicy,
}Expand description
Construction-time options for PipelineBridge::new.
Fields§
§depth: usizeHow many buffers may sit between the two pipelines.
The same trade a crate::queue::Queue makes: room to absorb one
side being briefly busy, at the cost of that many buffers’ worth of
latency and of whatever they hold open.
policy: OverflowPolicyWhat happens when that room runs out — see OverflowPolicy.
Trait Implementations§
Source§impl Clone for PipelineBridgeOptions
impl Clone for PipelineBridgeOptions
Source§fn clone(&self) -> PipelineBridgeOptions
fn clone(&self) -> PipelineBridgeOptions
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 moreimpl Copy for PipelineBridgeOptions
Source§impl Debug for PipelineBridgeOptions
impl Debug for PipelineBridgeOptions
Auto Trait Implementations§
impl Freeze for PipelineBridgeOptions
impl RefUnwindSafe for PipelineBridgeOptions
impl Send for PipelineBridgeOptions
impl Sync for PipelineBridgeOptions
impl Unpin for PipelineBridgeOptions
impl UnsafeUnpin for PipelineBridgeOptions
impl UnwindSafe for PipelineBridgeOptions
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