pub struct ConflictDetection { /* private fields */ }Expand description
Conflict detection
Implementations§
Source§impl ConflictDetection
impl ConflictDetection
pub fn new() -> Self
Sourcepub fn get_detection_method(&self) -> &ConflictDetectionMethod
pub fn get_detection_method(&self) -> &ConflictDetectionMethod
Get the detection method.
Sourcepub fn set_detection_method(&mut self, method: ConflictDetectionMethod)
pub fn set_detection_method(&mut self, method: ConflictDetectionMethod)
Set the detection method.
Sourcepub fn get_conflict_types(&self) -> &[ConflictType]
pub fn get_conflict_types(&self) -> &[ConflictType]
Get all registered conflict types.
Sourcepub fn add_conflict_type(&mut self, ctype: ConflictType)
pub fn add_conflict_type(&mut self, ctype: ConflictType)
Add a conflict type to monitor.
Trait Implementations§
Source§impl Clone for ConflictDetection
impl Clone for ConflictDetection
Source§fn clone(&self) -> ConflictDetection
fn clone(&self) -> ConflictDetection
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 moreAuto Trait Implementations§
impl Freeze for ConflictDetection
impl RefUnwindSafe for ConflictDetection
impl Send for ConflictDetection
impl Sync for ConflictDetection
impl Unpin for ConflictDetection
impl UnsafeUnpin for ConflictDetection
impl UnwindSafe for ConflictDetection
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more