Struct extism_convert::Prost
source · pub struct Prost<T: Message>(pub T);
Expand description
Protobuf encoding
Allows for prost
Protobuf messages to be used as arguments to Extism plugin calls
Tuple Fields§
§0: T
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Prost<T>where
T: Freeze,
impl<T> RefUnwindSafe for Prost<T>where
T: RefUnwindSafe,
impl<T> Send for Prost<T>
impl<T> Sync for Prost<T>
impl<T> Unpin for Prost<T>where
T: Unpin,
impl<T> UnwindSafe for Prost<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