Skip to main content

ApplicationReply

Trait ApplicationReply 

Source
pub trait ApplicationReply: Debug + 'static {
    // Required method
    fn bytes(&self) -> &[u8] ⓘ;
}
Expand description

Owned bounded reply, including any transport-specific evidence retained by its type.

Required Methods§

Source

fn bytes(&self) -> &[u8] ⓘ

Read raw bytes without application decoding.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ApplicationReply for Vec<u8>

Source§

fn bytes(&self) -> &[u8] ⓘ

Implementors§