Home
last modified time | relevance | path

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

/tonic/tonic/src/codec/
H A Ddecode.rs29 direction: Direction,
50 enum Direction { enum
74 Direction::Response(status_code), in new_response()
87 Self::new(decoder, body, Direction::EmptyResponse, None, None) in new_empty()
106 Direction::Request, in new_request()
115 direction: Direction, in new() argument
173 let message = if let Direction::Response(status) = self.direction { in decode_chunk()
225 let message = if let Direction::Response(status) = self.direction { in decode_chunk()
252 if self.direction == Direction::Request && status.code() == Code::Cancelled { in poll_frame()
288 if let Direction::Response(status) = self.direction { in response()
/tonic/tonic-web/src/
H A Dcall.rs47 enum Direction { enum
67 direction: Direction,
79 direction: Direction::Empty, in default()
89 Self::new(inner, Direction::Decode, encoding) in request()
93 Self::new(inner, Direction::Encode, encoding) in response()
97 Self::new_client(inner, Direction::Encode, Encoding::None) in client_request()
112 Direction::Decode => BUFFER_SIZE, in new_client()
262 if self.client && self.direction == Direction::Decode { in poll_frame()
324 Direction::Decode => self.poll_decode(cx), in poll_frame()
325 Direction::Encode => self.poll_encode(cx), in poll_frame()
[all …]