[−][src]Struct kf_protocol_api::ResponseMessage
Fields
correlation_id: i32response: PImplementations
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]
P: Decoder,
pub fn decode_from<T>(src: &mut T, version: Version) -> Result<Self, IoError> where
T: Buf, [src]
T: Buf,
pub fn decode_from_file<H: AsRef<Path>>(
file_name: H,
version: Version
) -> Result<Self, IoError>[src]
file_name: H,
version: Version
) -> Result<Self, IoError>
Trait Implementations
impl<P: Debug> Debug for ResponseMessage<P>[src]
impl<P: Default> Default for ResponseMessage<P>[src]
fn default() -> ResponseMessage<P>[src]
impl<P> Encoder for ResponseMessage<P> where
P: Encoder + Default, [src]
P: Encoder + Default,
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> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,