pub enum MockCoordinator {
Transaction(String),
Group(String),
}
Expand description
Used to denote an explictly configured coordinator
Variants§
Transaction(String)
Mock out coordination by a given transaction id
Group(String)
Mock out coordination by a given group id
Auto Trait Implementations§
impl Freeze for MockCoordinator
impl RefUnwindSafe for MockCoordinator
impl Send for MockCoordinator
impl Sync for MockCoordinator
impl Unpin for MockCoordinator
impl UnwindSafe for MockCoordinator
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