Struct fluvio_protocol_api::ResponseMessage [−][src]
pub struct ResponseMessage<P> { pub correlation_id: i32, pub response: P, }
Fields
correlation_id: i32
response: P
Implementations
impl<P> ResponseMessage<P>
[src]
impl<P> ResponseMessage<P>
[src]pub fn from_header(header: &RequestHeader, response: P) -> Self
[src]
pub fn new(correlation_id: i32, response: P) -> Self
[src]
impl<P> ResponseMessage<P> where
P: Decoder,
[src]
impl<P> ResponseMessage<P> where
P: Decoder,
[src]Trait Implementations
impl<P: Debug> Debug for ResponseMessage<P>
[src]
impl<P: Debug> Debug for ResponseMessage<P>
[src]impl<P: Default> Default for ResponseMessage<P>
[src]
impl<P: Default> Default for ResponseMessage<P>
[src]fn default() -> ResponseMessage<P>
[src]
fn default() -> ResponseMessage<P>
[src]Returns the “default value” for a type. Read more
impl<P> Encoder for ResponseMessage<P> where
P: Encoder + Default,
[src]
impl<P> Encoder for ResponseMessage<P> where
P: Encoder + Default,
[src]Auto Trait Implementations
impl<P> RefUnwindSafe for ResponseMessage<P> where
P: RefUnwindSafe,
P: RefUnwindSafe,
impl<P> Send for ResponseMessage<P> where
P: Send,
P: Send,
impl<P> Sync for ResponseMessage<P> where
P: Sync,
P: Sync,
impl<P> Unpin for ResponseMessage<P> where
P: Unpin,
P: Unpin,
impl<P> UnwindSafe for ResponseMessage<P> where
P: UnwindSafe,
P: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]