pub struct BoundedPipeline { /* private fields */ }Expand description
Configuration for a bounded frontend operation pipeline.
Implementations§
Source§impl BoundedPipeline
impl BoundedPipeline
Sourcepub fn new(max_operations: usize) -> Result<Self, PipelineConfigError>
pub fn new(max_operations: usize) -> Result<Self, PipelineConfigError>
Creates a pipeline with a non-zero operation-count limit.
§Errors
Returns an error when max_operations is zero.
Sourcepub const fn max_operations(self) -> usize
pub const fn max_operations(self) -> usize
Returns the maximum number of incomplete operations.
Trait Implementations§
Source§impl Clone for BoundedPipeline
impl Clone for BoundedPipeline
Source§fn clone(&self) -> BoundedPipeline
fn clone(&self) -> BoundedPipeline
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 BoundedPipeline
Source§impl Debug for BoundedPipeline
impl Debug for BoundedPipeline
impl Eq for BoundedPipeline
Source§impl PartialEq for BoundedPipeline
impl PartialEq for BoundedPipeline
Source§impl PipelinePolicy for BoundedPipeline
impl PipelinePolicy for BoundedPipeline
Source§fn operation_limit(self) -> usize
fn operation_limit(self) -> usize
Maximum number of incomplete operation records.
impl StructuralPartialEq for BoundedPipeline
Auto Trait Implementations§
impl Freeze for BoundedPipeline
impl RefUnwindSafe for BoundedPipeline
impl Send for BoundedPipeline
impl Sync for BoundedPipeline
impl Unpin for BoundedPipeline
impl UnsafeUnpin for BoundedPipeline
impl UnwindSafe for BoundedPipeline
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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