Struct raft_engine::internals::DefaultMachineFactory
source · [−]pub struct DefaultMachineFactory<M>(_);Expand description
A factory of ReplayMachines that can be default constructed.
Trait Implementations
sourceimpl<M: Clone> Clone for DefaultMachineFactory<M>
impl<M: Clone> Clone for DefaultMachineFactory<M>
sourcefn clone(&self) -> DefaultMachineFactory<M>
fn clone(&self) -> DefaultMachineFactory<M>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<M: Default> Default for DefaultMachineFactory<M>
impl<M: Default> Default for DefaultMachineFactory<M>
sourcefn default() -> DefaultMachineFactory<M>
fn default() -> DefaultMachineFactory<M>
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<M> RefUnwindSafe for DefaultMachineFactory<M>
impl<M> Send for DefaultMachineFactory<M>where
M: Send,
impl<M> Sync for DefaultMachineFactory<M>where
M: Send,
impl<M> Unpin for DefaultMachineFactory<M>where
M: Unpin,
impl<M> UnwindSafe for DefaultMachineFactory<M>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more