pub struct GrpcIoRecorder;
Trait Implementations§
Source§impl Clone for GrpcIoRecorder
impl Clone for GrpcIoRecorder
Source§fn clone(&self) -> GrpcIoRecorder
fn clone(&self) -> GrpcIoRecorder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<De, Se> CollectClone<GrpcMethodRequest<De, Se>> for GrpcIoRecorderwhere
De: for<'a> Deserializer<'a> + DeserializeOwned + Send + Sync + 'static,
for<'a> <De as Deserializer<'a>>::Error: Error + Send + Sync + 'static,
Se: Clone + Send,
impl<De, Se> CollectClone<GrpcMethodRequest<De, Se>> for GrpcIoRecorderwhere
De: for<'a> Deserializer<'a> + DeserializeOwned + Send + Sync + 'static,
for<'a> <De as Deserializer<'a>>::Error: Error + Send + Sync + 'static,
Se: Clone + Send,
type Error = Error
async fn collect_clone( &self, r: GrpcMethodRequest<De, Se>, ) -> Result<(GrpcMethodRequest<De, Se>, GrpcMethodRequest<De, Se>), Self::Error>
Source§impl CollectClone<Response<<Serializer as Serializer>::Ok>> for GrpcIoRecorder
impl CollectClone<Response<<Serializer as Serializer>::Ok>> for GrpcIoRecorder
type Error = Error
async fn collect_clone( &self, r: Response<<Serializer as Serializer>::Ok>, ) -> Result<(Response<<Serializer as Serializer>::Ok>, Response<<Serializer as Serializer>::Ok>), Self::Error>
Source§impl Debug for GrpcIoRecorder
impl Debug for GrpcIoRecorder
Source§impl Default for GrpcIoRecorder
impl Default for GrpcIoRecorder
Source§fn default() -> GrpcIoRecorder
fn default() -> GrpcIoRecorder
Returns the “default value” for a type. Read more
Source§impl Hash for GrpcIoRecorder
impl Hash for GrpcIoRecorder
Source§impl<De, Se> IoRecord<GrpcMethodRequest<De, Se>> for GrpcIoRecorderwhere
De: for<'a> Deserializer<'a> + Send + Sync + 'static,
for<'a> <De as Deserializer<'a>>::Error: Error + Send + Sync + 'static,
Se: Send,
impl<De, Se> IoRecord<GrpcMethodRequest<De, Se>> for GrpcIoRecorderwhere
De: for<'a> Deserializer<'a> + Send + Sync + 'static,
for<'a> <De as Deserializer<'a>>::Error: Error + Send + Sync + 'static,
Se: Send,
type Error = Error
fn extension(&self, _r: &GrpcMethodRequest<De, Se>) -> &'static str
async fn record<W: Write>( &self, w: &mut W, r: GrpcMethodRequest<De, Se>, ) -> Result<(), Self::Error>
async fn record_raw<W: Write + Send>( &self, w: &mut W, r: GrpcMethodRequest<De, Se>, ) -> Result<(), Self::Error>
Source§impl IoRecord<Response<<Serializer as Serializer>::Ok>> for GrpcIoRecorder
impl IoRecord<Response<<Serializer as Serializer>::Ok>> for GrpcIoRecorder
type Error = Error
fn extension( &self, _r: &Response<<Serializer as Serializer>::Ok>, ) -> &'static str
async fn record<W: Write + Send>( &self, w: &mut W, r: Response<<Serializer as Serializer>::Ok>, ) -> Result<(), Self::Error>
async fn record_raw<W: Write + Send>( &self, w: &mut W, r: Response<<Serializer as Serializer>::Ok>, ) -> Result<(), Self::Error>
Source§impl Ord for GrpcIoRecorder
impl Ord for GrpcIoRecorder
Source§fn cmp(&self, other: &GrpcIoRecorder) -> Ordering
fn cmp(&self, other: &GrpcIoRecorder) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GrpcIoRecorder
impl PartialEq for GrpcIoRecorder
Source§impl PartialOrd for GrpcIoRecorder
impl PartialOrd for GrpcIoRecorder
Source§impl<De, Se> RequestIoRecord<GrpcMethodRequest<De, Se>> for GrpcIoRecorder
impl<De, Se> RequestIoRecord<GrpcMethodRequest<De, Se>> for GrpcIoRecorder
fn record_dir(&self, r: &GrpcMethodRequest<De, Se>) -> PathBuf
impl Eq for GrpcIoRecorder
impl StructuralPartialEq for GrpcIoRecorder
Auto Trait Implementations§
impl Freeze for GrpcIoRecorder
impl RefUnwindSafe for GrpcIoRecorder
impl Send for GrpcIoRecorder
impl Sync for GrpcIoRecorder
impl Unpin for GrpcIoRecorder
impl UnwindSafe for GrpcIoRecorder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request