pub enum ChannelClass {
Control,
Bulk,
}Expand description
Class of internode gRPC channel used to route an RPC (grpc-optimization P1).
ChannelClass::Control: latency-sensitive control-plane RPCs (locks, health, small metadata). Always uses the per-peer control connection keyed by the bare address.ChannelClass::Bulk: largebytes-carrying unary RPCs (ReadAll/WriteAll/ReadMultiple/BatchReadVersion). When channel isolation is enabled these are routed onto a separate per-peer bulk connection pool so a large transfer cannot head-of-line block a lock RPC on the shared HTTP/2 connection.
Variants§
Trait Implementations§
Source§impl Clone for ChannelClass
impl Clone for ChannelClass
impl Copy for ChannelClass
Source§impl Debug for ChannelClass
impl Debug for ChannelClass
impl Eq for ChannelClass
Source§impl PartialEq for ChannelClass
impl PartialEq for ChannelClass
impl StructuralPartialEq for ChannelClass
Auto Trait Implementations§
impl Freeze for ChannelClass
impl RefUnwindSafe for ChannelClass
impl Send for ChannelClass
impl Sync for ChannelClass
impl Unpin for ChannelClass
impl UnsafeUnpin for ChannelClass
impl UnwindSafe for ChannelClass
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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