Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 25 of 39) sorted by relevance

12

/tonic/tonic/src/metadata/
H A Dencoding.rs5 use std::fmt;
19 use std::fmt;
44 fn fmt(value: &HeaderValue, f: &mut fmt::Formatter<'_>) -> fmt::Result; in fmt() method
109 fn fmt(value: &HeaderValue, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
110 fmt::Debug::fmt(value, f) in fmt()
174 fn fmt(value: &HeaderValue, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
197 impl fmt::Display for InvalidMetadataValue {
198 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
218 impl fmt::Display for InvalidMetadataValueBytes {
219 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
[all …]
H A Dkey.rs5 use std::fmt;
168 impl<VE: ValueEncoding> fmt::Debug for MetadataKey<VE> {
169 fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
170 fmt::Debug::fmt(self.as_str(), fmt) in fmt()
174 impl<VE: ValueEncoding> fmt::Display for MetadataKey<VE> {
175 fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
176 fmt::Display::fmt(self.as_str(), fmt) in fmt()
272 impl fmt::Display for InvalidMetadataKey {
273 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
/tonic/tonic/src/transport/
H A Derror.rs1 use std::{error::Error as StdError, fmt};
61 impl fmt::Debug for Error {
62 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
75 impl fmt::Display for Error {
76 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
/tonic/tests/skip_debug/src/
H A Dlib.rs6 impl std::fmt::Debug for Output {
7 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { in fmt() method
/tonic/tonic/src/transport/server/
H A Dtls.rs1 use std::fmt;
16 impl fmt::Debug for ServerTlsConfig {
17 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
/tonic/tonic/src/transport/service/
H A Dtls.rs1 use std::{fmt, io::Cursor};
20 impl fmt::Display for TlsError {
21 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
/tonic/tonic/src/service/
H A Drecover_error.rs4 fmt,
79 impl<F> fmt::Debug for ResponseFuture<F> {
80 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
117 impl<B> fmt::Debug for ResponseBody<B> {
118 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
H A Drouter.rs5 fmt,
164 impl fmt::Debug for RoutesFuture {
165 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
H A Dinterceptor.rs8 fmt,
103 impl<S, I> fmt::Debug for InterceptedService<S, I>
105 S: fmt::Debug,
107 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() function
/tonic/tonic/src/transport/channel/service/
H A Dreconnect.rs2 use std::fmt;
156 impl<M, Target> fmt::Debug for Reconnect<M, Target>
158 M: Service<Target> + fmt::Debug,
159 M::Future: fmt::Debug,
160 M::Response: fmt::Debug,
161 Target: fmt::Debug,
164 fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() function
165 fmt.debug_struct("Reconnect") in fmt()
H A Dconnector.rs8 use std::fmt;
86 impl fmt::Display for HttpsUriWithoutTlsSupport {
87 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
H A Dtls.rs1 use std::fmt;
123 impl fmt::Debug for TlsConnector {
124 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
H A Dconnection.rs11 fmt,
126 impl fmt::Debug for Connection {
127 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
/tonic/tonic/src/transport/server/service/
H A Dtls.rs1 use std::{fmt, sync::Arc};
68 impl fmt::Debug for TlsAcceptor {
69 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
/tonic/interop/src/
H A Dlib.rs12 use std::{default, fmt, iter};
15 tracing_subscriber::fmt::init(); in trace_init()
70 impl fmt::Display for TestAssertion {
71 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
/tonic/tonic-web/src/
H A Dclient.rs4 use std::fmt;
102 impl<F> fmt::Debug for ResponseFuture<F> {
103 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
H A Dservice.rs1 use core::fmt;
50 B::Error: Into<crate::BoxError> + fmt::Display,
183 impl<F> fmt::Debug for ResponseFuture<F> {
184 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { in fmt() method
209 B::Error: Into<crate::BoxError> + fmt::Display, in coerce_request()
230 B::Error: Into<crate::BoxError> + fmt::Display, in coerce_response()
/tonic/tonic/src/transport/channel/
H A Dmod.rs21 fmt,
233 impl fmt::Debug for Channel {
234 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
239 impl fmt::Debug for ResponseFuture {
240 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
/tonic/tonic/src/
H A Dstatus.rs152 impl std::fmt::Display for Code {
153 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { in fmt() method
154 std::fmt::Display::fmt(self.description(), f) in fmt()
638 impl fmt::Debug for Status {
639 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
712 impl fmt::Display for Status {
713 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
888 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
1027 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
1041 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
[all …]
/tonic/tonic-health/src/
H A Dlib.rs16 use std::fmt::{Display, Formatter};
59 fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { in fmt() method
/tonic/tonic-reflection/src/server/
H A Dv1alpha.rs1 use std::{fmt, sync::Arc};
134 impl fmt::Debug for ServerReflectionInfoStream {
135 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
H A Dv1.rs1 use std::{fmt, sync::Arc};
134 impl fmt::Debug for ServerReflectionInfoStream {
135 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
/tonic/tonic/src/client/
H A Dgrpc.rs16 use std::{fmt, future, pin::pin};
444 impl<T: fmt::Debug> fmt::Debug for Grpc<T> {
445 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
/tonic/tonic/src/server/
H A Dgrpc.rs13 use std::{fmt, pin::pin};
469 impl<T: fmt::Debug> fmt::Debug for Grpc<T> {
470 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
/tonic/tonic/benches/
H A Ddecode.rs7 fmt::{Error, Formatter},
84 impl std::fmt::Debug for MockBody {
85 fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error> { in fmt() method

12