Home
last modified time | relevance | path

Searched refs:cancelled (Results 1 – 2 of 2) sorted by relevance

/tonic/examples/src/cancellation/
H A Dserver.rs43 Err(Status::cancelled("Request cancelled by client")) in say_hello()
65 _ = token.cancelled() => cancellation_future.await, in with_cancellation_handler()
/tonic/tonic/src/
H A Dstatus.rs178 pub fn cancelled(message: impl Into<String>) -> Status { in cancelled() method
418 return Some(Status::cancelled(err.to_string())); in from_hyper_error()
612 return Some(Status::cancelled(timeout.to_string())); in find_status_in_source_chain()
971 assert_eq!(Status::cancelled("").code(), Code::Cancelled); in constructors()