pub struct RouteDispatchPolicy {
pub partitions: usize,
pub reliable_dispatch: bool,
}Expand description
Dispatch behavior for a source route.
Fields§
§partitions: usizeNumber of partitions to configure for the destination topic.
reliable_dispatch: boolWhether the route should use reliable dispatch semantics.
Implementations§
Trait Implementations§
Source§impl Clone for RouteDispatchPolicy
impl Clone for RouteDispatchPolicy
Source§fn clone(&self) -> RouteDispatchPolicy
fn clone(&self) -> RouteDispatchPolicy
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 moreAuto Trait Implementations§
impl Freeze for RouteDispatchPolicy
impl RefUnwindSafe for RouteDispatchPolicy
impl Send for RouteDispatchPolicy
impl Sync for RouteDispatchPolicy
impl Unpin for RouteDispatchPolicy
impl UnsafeUnpin for RouteDispatchPolicy
impl UnwindSafe for RouteDispatchPolicy
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