Struct fluvio_dataplane_protocol::api::ResponseMessage [−][src]
pub struct ResponseMessage<P> {
pub correlation_id: i32,
pub response: P,
}
Fields
correlation_id: i32
response: P
Implementations
pub fn decode_from<T>(
src: &mut T,
version: i16
) -> Result<ResponseMessage<P>, Error> where
T: Buf,
pub fn decode_from_file<H>(
file_name: H,
version: i16
) -> Result<ResponseMessage<P>, Error> where
H: AsRef<Path>,
Trait Implementations
Auto Trait Implementations
impl<P> RefUnwindSafe for ResponseMessage<P> where
P: RefUnwindSafe,
impl<P> Send for ResponseMessage<P> where
P: Send,
impl<P> Sync for ResponseMessage<P> where
P: Sync,
impl<P> Unpin for ResponseMessage<P> where
P: Unpin,
impl<P> UnwindSafe for ResponseMessage<P> where
P: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more