pub struct TestOrderer {}Implementations§
Trait Implementations§
Source§impl Clone for TestOrderer
impl Clone for TestOrderer
Source§fn clone(&self) -> TestOrderer
fn clone(&self) -> TestOrderer
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 TestOrderer
impl Debug for TestOrderer
Source§impl Default for TestOrderer
impl Default for TestOrderer
Source§fn default() -> TestOrderer
fn default() -> TestOrderer
Returns the “default value” for a type. Read more
Source§impl Orderer<char, u32, GroupControlMessage<char, ()>> for TestOrderer
impl Orderer<char, u32, GroupControlMessage<char, ()>> for TestOrderer
Source§fn next_message(
y: Self::State,
control_message: &GroupControlMessage<MemberId, Conditions>,
) -> Result<(Self::State, Self::Operation), Self::Error>
fn next_message( y: Self::State, control_message: &GroupControlMessage<MemberId, Conditions>, ) -> Result<(Self::State, Self::Operation), Self::Error>
Construct the next operation which should include meta-data required for establishing order between different operations.
In this implementation causal order is established between operations using a graph structure. Every operation contains a pointer to both the previous operations in a single auth group graph, and also the tips of any sub-group graphs.
type State = TestOrdererState
type Error = OrdererError
type Operation = TestOperation
Auto Trait Implementations§
impl Freeze for TestOrderer
impl RefUnwindSafe for TestOrderer
impl Send for TestOrderer
impl Sync for TestOrderer
impl Unpin for TestOrderer
impl UnwindSafe for TestOrderer
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