pub struct PbMessage<T: Message>(/* private fields */);Implementations§
Trait Implementations§
Source§impl<'a, T: Message> ABIRequest<'a> for PbMessage<T>
impl<'a, T: Message> ABIRequest<'a> for PbMessage<T>
type DecodeError = ProtobufError
fn try_from_bytes(buf: &'a [u8]) -> Result<Self, Self::DecodeError>where
Self: Sized,
Source§impl<T: Message> ABIResponse for PbMessage<T>
impl<T: Message> ABIResponse for PbMessage<T>
const ORIGIN_TYPE_FOR_FREE: OriginType = OriginType::Vec
type EncodeError = ProtobufError
fn try_into_buffer(self) -> Result<LeakBuffer, Self::EncodeError>
impl<'a, T: Message> ABIMessage<'a> for PbMessage<T>
Auto Trait Implementations§
impl<T> Freeze for PbMessage<T>where
T: Freeze,
impl<T> RefUnwindSafe for PbMessage<T>where
T: RefUnwindSafe,
impl<T> Send for PbMessage<T>
impl<T> Sync for PbMessage<T>
impl<T> Unpin for PbMessage<T>where
T: Unpin,
impl<T> UnwindSafe for PbMessage<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more