pub struct QuicServerMessage {
pub hello: Option<HelloResponse>,
pub execute: Option<ExecutionResponse>,
pub ping: Option<PingResponse>,
pub begin: Option<BeginResponse>,
pub commit: Option<CommitResponse>,
pub rollback: Option<RollbackResponse>,
}Expand description
Top-level server message (oneof).
Fields§
§hello: Option<HelloResponse>§execute: Option<ExecutionResponse>§ping: Option<PingResponse>§begin: Option<BeginResponse>§commit: Option<CommitResponse>§rollback: Option<RollbackResponse>Trait Implementations§
Source§impl Clone for QuicServerMessage
impl Clone for QuicServerMessage
Source§fn clone(&self) -> QuicServerMessage
fn clone(&self) -> QuicServerMessage
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 QuicServerMessage
impl Debug for QuicServerMessage
Source§impl Default for QuicServerMessage
impl Default for QuicServerMessage
Source§fn default() -> QuicServerMessage
fn default() -> QuicServerMessage
Returns the “default value” for a type. Read more
Source§impl PartialEq for QuicServerMessage
impl PartialEq for QuicServerMessage
impl StructuralPartialEq for QuicServerMessage
Auto Trait Implementations§
impl Freeze for QuicServerMessage
impl RefUnwindSafe for QuicServerMessage
impl Send for QuicServerMessage
impl Sync for QuicServerMessage
impl Unpin for QuicServerMessage
impl UnwindSafe for QuicServerMessage
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