Struct async_prost::Frame
source · [−]Expand description
Decoded frame from buffer
Fields
header: Option<H>
header of the frame
body: Option<Either<Vec<u8>, T>>
body of the frame
Trait Implementations
sourceimpl<H, T> Framed for Frame<H, T> where
H: Message + ShallDecodeBody + Default,
T: Message + Default,
impl<H, T> Framed for Frame<H, T> where
H: Message + ShallDecodeBody + Default,
T: Message + Default,
Auto Trait Implementations
impl<H, T> RefUnwindSafe for Frame<H, T> where
H: RefUnwindSafe,
T: RefUnwindSafe,
impl<H, T> Send for Frame<H, T> where
H: Send,
T: Send,
impl<H, T> Sync for Frame<H, T> where
H: Sync,
T: Sync,
impl<H, T> Unpin for Frame<H, T> where
H: Unpin,
T: Unpin,
impl<H, T> UnwindSafe for Frame<H, T> where
H: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more