• Home
  • Raw
  • Download

Lines Matching refs:SendError

152 pub struct SendError {  struct
159 err: SendError,
174 impl fmt::Display for SendError { implementation
184 impl std::error::Error for SendError {} implementation
186 impl SendError { implementation
239 pub fn into_send_error(self) -> SendError { in into_send_error() argument
406 fn poll_ready_nb(&self) -> Poll<Result<(), SendError>> { in poll_ready_nb() argument
411 Poll::Ready(Err(SendError { kind: SendErrorKind::Disconnected })) in poll_ready_nb()
495 return Err(TrySendError { err: SendError { kind: SendErrorKind::Full }, val: msg }); in try_send()
524 err: SendError { kind: SendErrorKind::Disconnected }, in do_send_b()
616 fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll<Result<(), SendError>> { in poll_ready() argument
619 return Poll::Ready(Err(SendError { kind: SendErrorKind::Disconnected })); in poll_ready()
691 Err(TrySendError { err: SendError { kind: SendErrorKind::Disconnected }, val: msg }) in try_send()
700 pub fn start_send(&mut self, msg: T) -> Result<(), SendError> { in start_send() argument
716 pub fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll<Result<(), SendError>> { in poll_ready() argument
717 let inner = self.0.as_mut().ok_or(SendError { kind: SendErrorKind::Disconnected })?; in poll_ready()
768 pub fn poll_ready(&self, _: &mut Context<'_>) -> Poll<Result<(), SendError>> { in poll_ready() argument
769 let inner = self.0.as_ref().ok_or(SendError { kind: SendErrorKind::Disconnected })?; in poll_ready()
799 Err(TrySendError { err: SendError { kind: SendErrorKind::Disconnected }, val: msg }) in do_send_nb()
806 pub fn start_send(&mut self, msg: T) -> Result<(), SendError> { in start_send() argument