pub struct InterventionBuilder { /* private fields */ }Expand description
Builder for creating interventions.
Implementations§
Source§impl InterventionBuilder
impl InterventionBuilder
Sourcepub fn drop_connection(self) -> Self
pub fn drop_connection(self) -> Self
Set drop connection flag.
Sourcepub fn build(self) -> Intervention
pub fn build(self) -> Intervention
Build the intervention.
Trait Implementations§
Source§impl Clone for InterventionBuilder
impl Clone for InterventionBuilder
Source§fn clone(&self) -> InterventionBuilder
fn clone(&self) -> InterventionBuilder
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 InterventionBuilder
impl Debug for InterventionBuilder
Auto Trait Implementations§
impl Freeze for InterventionBuilder
impl RefUnwindSafe for InterventionBuilder
impl Send for InterventionBuilder
impl Sync for InterventionBuilder
impl Unpin for InterventionBuilder
impl UnwindSafe for InterventionBuilder
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