#[repr(u8)]pub enum MessageType {
Show 18 variants
HandshakeRequest = 1,
HandshakeResponse = 2,
RequestHeaders = 16,
RequestBodyChunk = 17,
ResponseHeaders = 18,
ResponseBodyChunk = 19,
RequestComplete = 20,
WebSocketFrame = 21,
GuardrailInspect = 22,
Configure = 23,
AgentResponse = 32,
HealthStatus = 48,
MetricsReport = 49,
ConfigUpdateRequest = 50,
FlowControl = 51,
Cancel = 64,
Ping = 65,
Pong = 66,
}Expand description
Message type identifiers for the binary protocol.
Variants§
HandshakeRequest = 1
HandshakeResponse = 2
RequestHeaders = 16
RequestBodyChunk = 17
ResponseHeaders = 18
ResponseBodyChunk = 19
RequestComplete = 20
WebSocketFrame = 21
GuardrailInspect = 22
Configure = 23
AgentResponse = 32
HealthStatus = 48
MetricsReport = 49
ConfigUpdateRequest = 50
FlowControl = 51
Cancel = 64
Ping = 65
Pong = 66
Trait Implementations§
Source§impl Clone for MessageType
impl Clone for MessageType
Source§fn clone(&self) -> MessageType
fn clone(&self) -> MessageType
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 MessageType
impl Debug for MessageType
Source§impl PartialEq for MessageType
impl PartialEq for MessageType
Source§impl TryFrom<u8> for MessageType
impl TryFrom<u8> for MessageType
impl Copy for MessageType
impl Eq for MessageType
impl StructuralPartialEq for MessageType
Auto Trait Implementations§
impl Freeze for MessageType
impl RefUnwindSafe for MessageType
impl Send for MessageType
impl Sync for MessageType
impl Unpin for MessageType
impl UnwindSafe for MessageType
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§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<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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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