pub struct L4ExtPassConfig {
pub name: String,
pub phase: L4ExtPassPhase,
pub enabled: bool,
pub max_iterations: usize,
pub debug: u32,
pub timeout_ms: Option<u64>,
}Expand description
Configuration for L4Ext passes.
Fields§
§name: String§phase: L4ExtPassPhase§enabled: bool§max_iterations: usize§debug: u32§timeout_ms: Option<u64>Implementations§
Source§impl L4ExtPassConfig
impl L4ExtPassConfig
pub fn new(name: impl Into<String>) -> Self
pub fn with_phase(self, phase: L4ExtPassPhase) -> Self
pub fn with_max_iter(self, n: usize) -> Self
pub fn with_debug(self, d: u32) -> Self
pub fn disabled(self) -> Self
pub fn with_timeout(self, ms: u64) -> Self
pub fn is_debug_enabled(&self) -> bool
Trait Implementations§
Source§impl Clone for L4ExtPassConfig
impl Clone for L4ExtPassConfig
Source§fn clone(&self) -> L4ExtPassConfig
fn clone(&self) -> L4ExtPassConfig
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 L4ExtPassConfig
impl Debug for L4ExtPassConfig
Auto Trait Implementations§
impl Freeze for L4ExtPassConfig
impl RefUnwindSafe for L4ExtPassConfig
impl Send for L4ExtPassConfig
impl Sync for L4ExtPassConfig
impl Unpin for L4ExtPassConfig
impl UnsafeUnpin for L4ExtPassConfig
impl UnwindSafe for L4ExtPassConfig
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