Home
last modified time | relevance | path

Searched defs:from (Results 1 – 23 of 23) sorted by relevance

/tonic/tonic-types/src/richer_error/error_details/
H A Dvec.rs43 fn from(err_detail: RetryInfo) -> Self { in from() method
49 fn from(err_detail: DebugInfo) -> Self { in from() method
55 fn from(err_detail: QuotaFailure) -> Self { in from() method
61 fn from(err_detail: ErrorInfo) -> Self { in from() method
67 fn from(err_detail: PreconditionFailure) -> Self { in from() method
73 fn from(err_detail: BadRequest) -> Self { in from() method
79 fn from(err_detail: RequestInfo) -> Self { in from() method
85 fn from(err_detail: ResourceInfo) -> Self { in from() method
91 fn from(err_detail: Help) -> Self { in from() method
97 fn from(err_detail: LocalizedMessage) -> Self { in from() method
/tonic/tonic-types/src/richer_error/std_messages/
H A Dhelp.rs29 fn from(value: pb::help::Link) -> Self { in from() method
38 fn from(value: HelpLink) -> Self { in from() method
126 fn from(value: pb::Help) -> Self { in from() method
134 fn from(value: Help) -> Self { in from() method
H A Dbad_request.rs32 fn from(value: pb::bad_request::FieldViolation) -> Self { in from() method
41 fn from(value: FieldViolation) -> Self { in from() method
130 fn from(value: pb::BadRequest) -> Self { in from() method
138 fn from(value: BadRequest) -> Self { in from() method
H A Dquota_failure.rs30 fn from(value: pb::quota_failure::Violation) -> Self { in from() method
39 fn from(value: QuotaViolation) -> Self { in from() method
127 fn from(value: pb::QuotaFailure) -> Self { in from() method
135 fn from(value: QuotaFailure) -> Self { in from() method
H A Dprec_failure.rs42 fn from(value: pb::precondition_failure::Violation) -> Self { in from() method
52 fn from(value: PreconditionViolation) -> Self { in from() method
150 fn from(value: pb::PreconditionFailure) -> Self { in from() method
158 fn from(value: PreconditionFailure) -> Self { in from() method
H A Drequest_info.rs71 fn from(req_info: pb::RequestInfo) -> Self { in from() method
80 fn from(req_info: RequestInfo) -> Self { in from() method
H A Ddebug_info.rs68 fn from(debug_info: pb::DebugInfo) -> Self { in from() method
77 fn from(debug_info: DebugInfo) -> Self { in from() method
H A Dloc_message.rs72 fn from(loc_message: pb::LocalizedMessage) -> Self { in from() method
81 fn from(loc_message: LocalizedMessage) -> Self { in from() method
H A Dretry_info.rs83 fn from(retry_info: pb::RetryInfo) -> Self { in from() method
98 fn from(value: RetryInfo) -> Self { in from() method
H A Dresource_info.rs84 fn from(res_info: pb::ResourceInfo) -> Self { in from() method
95 fn from(res_info: ResourceInfo) -> Self { in from() method
H A Derror_info.rs84 fn from(error_info: pb::ErrorInfo) -> Self { in from() method
94 fn from(error_info: ErrorInfo) -> Self { in from() method
/tonic/tonic/src/service/
H A Drouter.rs117 fn from(routes: Routes) -> Self { in from() method
125 fn from(router: axum::Router) -> Self { in from() method
133 fn from(router: axum::Router) -> Self { in from() method
/tonic/tonic-health/src/
H A Dlib.rs69 fn from(s: ServingStatus) -> Self { in from() method
/tonic/tonic/src/transport/server/
H A Dincoming.rs76 fn from(listener: TcpListener) -> Self { in from() method
/tonic/tonic/src/
H A Dstatus.rs673 fn from(err: h2::Error) -> Self { in from() method
680 fn from(status: Status) -> Self { in from() method
686 fn from(err: std::io::Error) -> Self { in from() method
847 fn from(i: i32) -> Self { in from() method
874 fn from(code: Code) -> i32 { in from() method
H A Dresponse.rs131 fn from(inner: T) -> Self { in from() method
/tonic/tonic-reflection/src/server/
H A Dv1alpha.rs100 fn from(state: ReflectionServiceState) -> Self { in from() method
H A Dv1.rs100 fn from(state: ReflectionServiceState) -> Self { in from() method
H A Dmod.rs311 fn from(e: DecodeError) -> Self { in from() method
/tonic/tonic/src/metadata/
H A Dkey.rs188 fn from(src: &'a MetadataKey<VE>) -> MetadataKey<VE> { in from() method
195 fn from(name: MetadataKey<VE>) -> Bytes { in from() method
H A Dvalue.rs484 fn from(h: MetadataKey<KeyVE>) -> MetadataValue<Ascii> { in from() method
584 fn from(value: MetadataValue<VE>) -> Bytes { in from() method
591 fn from(t: &'a MetadataValue<VE>) -> Self { in from() method
/tonic/tonic/src/transport/channel/service/
H A Dconnection.rs137 fn from(inner: hyper::client::conn::http2::SendRequest<Body>) -> Self { in from() method
/tonic/tonic/src/transport/channel/
H A Dendpoint.rs445 fn from(uri: Uri) -> Self { in from() method