pub struct ProstDecoder<Message> { /* private fields */ }Expand description
A stateless implementation of Decoder using prost
Trait Implementations§
Source§impl<Message: Debug> Debug for ProstDecoder<Message>
impl<Message: Debug> Debug for ProstDecoder<Message>
Source§impl<Message> Decoder for ProstDecoder<Message>
impl<Message> Decoder for ProstDecoder<Message>
Source§impl<Message: Default> Default for ProstDecoder<Message>
impl<Message: Default> Default for ProstDecoder<Message>
Source§fn default() -> ProstDecoder<Message>
fn default() -> ProstDecoder<Message>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<Message> Freeze for ProstDecoder<Message>
impl<Message> RefUnwindSafe for ProstDecoder<Message>where
Message: RefUnwindSafe,
impl<Message> Send for ProstDecoder<Message>where
Message: Send,
impl<Message> Sync for ProstDecoder<Message>where
Message: Sync,
impl<Message> Unpin for ProstDecoder<Message>where
Message: Unpin,
impl<Message> UnsafeUnpin for ProstDecoder<Message>
impl<Message> UnwindSafe for ProstDecoder<Message>where
Message: 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