pub enum StrategyChoice {
Direct(StrategyDirect),
Oldest(StrategyOldest),
}Expand description
@@ .. cpp:var:: oneof strategy_choice @@ @@ The strategy used by the sequence batcher. Default strategy @@ is ‘direct’. @@
Variants§
Direct(StrategyDirect)
@@ .. cpp:var:: StrategyDirect direct @@ @@ StrategyDirect scheduling strategy. @@
Oldest(StrategyOldest)
@@ .. cpp:var:: StrategyOldest oldest @@ @@ StrategyOldest scheduling strategy. @@
Implementations§
Trait Implementations§
Source§impl Clone for StrategyChoice
impl Clone for StrategyChoice
Source§fn clone(&self) -> StrategyChoice
fn clone(&self) -> StrategyChoice
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 StrategyChoice
impl Debug for StrategyChoice
Source§impl PartialEq for StrategyChoice
impl PartialEq for StrategyChoice
impl StructuralPartialEq for StrategyChoice
Auto Trait Implementations§
impl Freeze for StrategyChoice
impl RefUnwindSafe for StrategyChoice
impl Send for StrategyChoice
impl Sync for StrategyChoice
impl Unpin for StrategyChoice
impl UnwindSafe for StrategyChoice
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request