pub struct DecodeAsAnyProtobuf<InStrategy, InEncoder>(pub PhantomData<(InStrategy, InEncoder)>);
Tuple Fields§
§0: PhantomData<(InStrategy, InEncoder)>
Trait Implementations§
Source§impl<InEncoder, Encoding, InStrategy, Value> Converter<Encoding, Any, Value> for DecodeAsAnyProtobuf<InStrategy, InEncoder>where
Encoding: HasEncodedType<Encoded = Vec<u8>> + HasSchema<Value> + CanRaiseError<TypeUrlMismatchError>,
InEncoder: Decoder<Encoding, InStrategy, Value>,
Encoding::Schema: Display,
InStrategy: Async,
impl<InEncoder, Encoding, InStrategy, Value> Converter<Encoding, Any, Value> for DecodeAsAnyProtobuf<InStrategy, InEncoder>where
Encoding: HasEncodedType<Encoded = Vec<u8>> + HasSchema<Value> + CanRaiseError<TypeUrlMismatchError>,
InEncoder: Decoder<Encoding, InStrategy, Value>,
Encoding::Schema: Display,
InStrategy: Async,
Source§impl<InEncoder, Encoding, Strategy, InStrategy, Value> Decoder<Encoding, Strategy, Value> for DecodeAsAnyProtobuf<InStrategy, InEncoder>where
Encoding: HasEncodedType<Encoded = Vec<u8>> + CanRaiseError<DecodeError>,
Self: Converter<Encoding, Any, Value>,
impl<InEncoder, Encoding, Strategy, InStrategy, Value> Decoder<Encoding, Strategy, Value> for DecodeAsAnyProtobuf<InStrategy, InEncoder>where
Encoding: HasEncodedType<Encoded = Vec<u8>> + CanRaiseError<DecodeError>,
Self: Converter<Encoding, Any, Value>,
Auto Trait Implementations§
impl<InStrategy, InEncoder> Freeze for DecodeAsAnyProtobuf<InStrategy, InEncoder>
impl<InStrategy, InEncoder> RefUnwindSafe for DecodeAsAnyProtobuf<InStrategy, InEncoder>where
InStrategy: RefUnwindSafe,
InEncoder: RefUnwindSafe,
impl<InStrategy, InEncoder> Send for DecodeAsAnyProtobuf<InStrategy, InEncoder>
impl<InStrategy, InEncoder> Sync for DecodeAsAnyProtobuf<InStrategy, InEncoder>
impl<InStrategy, InEncoder> Unpin for DecodeAsAnyProtobuf<InStrategy, InEncoder>
impl<InStrategy, InEncoder> UnwindSafe for DecodeAsAnyProtobuf<InStrategy, InEncoder>where
InStrategy: UnwindSafe,
InEncoder: 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