Home
last modified time | relevance | path

Searched refs:Cancelled (Results 1 – 4 of 4) sorted by relevance

/tonic/tests/integration_tests/tests/
H A Dtimeout.rs23 assert_eq!(err.code(), Code::Cancelled); in cancelation_on_timeout()
42 assert_eq!(err.code(), Code::Cancelled); in picks_server_timeout_if_thats_sorter()
61 assert_eq!(err.code(), Code::Cancelled); in picks_client_timeout_if_thats_sorter()
/tonic/tonic/src/
H A Dstatus.rs64 Cancelled = 1, enumerator
128 Code::Cancelled => "The operation was cancelled", in description()
179 Status::new(Code::Cancelled, message) in cancelled()
381 Some(h2::Reason::CANCEL) => Code::Cancelled, in code_from_h2()
393 Code::Cancelled => h2::Reason::CANCEL, in to_h2_error()
793 b'1' => Code::Cancelled, in from_bytes()
821 Code::Cancelled => HeaderValue::from_static("1"), in to_header_value()
850 1 => Code::Cancelled, in from()
934 assert_eq!(found.code(), Code::Cancelled); in from_error_h2()
946 let orig = Status::new(Code::Cancelled, "stop eet!"); in to_h2_error()
[all …]
/tonic/tonic/src/codec/
H A Ddecode.rs252 if self.direction == Direction::Request && status.code() == Code::Cancelled { in poll_frame()
/tonic/
H A DCHANGELOG.md149 * **codec:** Cancelled client streaming handling ([#1315](https://github.com/hyperium/tonic/issues/…