Struct prost_wkt::MessageSerdeDecoderEntry
source · pub struct MessageSerdeDecoderEntry {
pub type_url: &'static str,
pub decoder: fn(_: &[u8]) -> Result<Box<dyn MessageSerde>, DecodeError>,
}
Fields§
§type_url: &'static str
§decoder: fn(_: &[u8]) -> Result<Box<dyn MessageSerde>, DecodeError>
Trait Implementations§
impl Collect for MessageSerdeDecoderEntry
Auto Trait Implementations§
impl Freeze for MessageSerdeDecoderEntry
impl RefUnwindSafe for MessageSerdeDecoderEntry
impl Send for MessageSerdeDecoderEntry
impl Sync for MessageSerdeDecoderEntry
impl Unpin for MessageSerdeDecoderEntry
impl UnwindSafe for MessageSerdeDecoderEntry
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