pub struct ToLeader<N, I, D> { /* private fields */ }
Implementations
Trait Implementations
sourceimpl<N, I, D> Config for ToLeader<N, I, D> where
N: LeadershipAwareNode<I>,
D: Delegator<Invocation = InvocationOf<N>>,
D::DelegatedAppend: 'static,
impl<N, I, D> Config for ToLeader<N, I, D> where
N: LeadershipAwareNode<I>,
D: Delegator<Invocation = InvocationOf<N>>,
D::DelegatedAppend: 'static,
type Node = N
type Node = N
The node type that is decorated.
type DelegatedAppend = <D as Delegator>::DelegatedAppend
fn evaluate(
&self,
node: &Self::Node,
log_entry: Arc<LogEntryOf<Self::Node>>,
args: AppendArgs<InvocationOf<Self::Node>>
) -> LocalBoxFuture<'static, Evaluation<Self::DelegatedAppend>>
Auto Trait Implementations
impl<N, I, D> RefUnwindSafe for ToLeader<N, I, D> where
D: RefUnwindSafe,
I: RefUnwindSafe,
N: RefUnwindSafe,
impl<N, I, D> Send for ToLeader<N, I, D> where
D: Send,
I: Send,
N: Send,
impl<N, I, D> Sync for ToLeader<N, I, D> where
D: Sync,
I: Sync,
N: Sync,
impl<N, I, D> Unpin for ToLeader<N, I, D> where
D: Unpin,
I: Unpin,
N: Unpin,
impl<N, I, D> UnwindSafe for ToLeader<N, I, D> where
D: UnwindSafe,
I: UnwindSafe,
N: UnwindSafe,
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more