Struct raft_engine::internals::WriteGroup
source · [−]pub struct WriteGroup<'a, 'b, P: 'a, O: 'a> { /* private fields */ }Expand description
A collection of writers. User thread (leader) that receives a WriteGroup
is responsible for processing its containing writers.
Implementations
sourceimpl<'a, 'b, P, O> WriteGroup<'a, 'b, P, O>
impl<'a, 'b, P, O> WriteGroup<'a, 'b, P, O>
pub fn iter_mut(&mut self) -> WriterIter<'_, 'a, 'b, P, O>ⓘNotable traits for WriterIter<'a, 'b, 'c, P, O>impl<'a, 'b, 'c, P, O> Iterator for WriterIter<'a, 'b, 'c, P, O> type Item = &'a mut Writer<P, O>;
Trait Implementations
Auto Trait Implementations
impl<'a, 'b, P, O> !RefUnwindSafe for WriteGroup<'a, 'b, P, O>
impl<'a, 'b, P, O> !Send for WriteGroup<'a, 'b, P, O>
impl<'a, 'b, P, O> !Sync for WriteGroup<'a, 'b, P, O>
impl<'a, 'b, P, O> Unpin for WriteGroup<'a, 'b, P, O>
impl<'a, 'b, P, O> !UnwindSafe for WriteGroup<'a, 'b, P, O>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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