Struct eventually::serde::Protobuf
source · pub struct Protobuf<T>(/* private fields */)
where
T: Message + Default;
Expand description
Implements the Serde trait which serializes and deserializes
the message using Protobuf format through the prost::Message
trait.
Trait Implementations§
source§impl<T> Deserializer<T> for Protobuf<T>
impl<T> Deserializer<T> for Protobuf<T>
source§impl<T> Serializer<T> for Protobuf<T>
impl<T> Serializer<T> for Protobuf<T>
impl<T> Copy for Protobuf<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Protobuf<T>where
T: RefUnwindSafe,
impl<T> Send for Protobuf<T>
impl<T> Sync for Protobuf<T>
impl<T> Unpin for Protobuf<T>where
T: Unpin,
impl<T> UnwindSafe for Protobuf<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