Searched refs:Others (Results 1 – 5 of 5) sorted by relevance
51 self.last_err.as_ref().map_err(|_| TransportError::Others("TCP read error"))?; in read_exact()58 self.last_err.as_ref().map_err(|_| TransportError::Others("TCP write error"))?; in write_exact()106 Err(TransportError::Others("USB receive error")) in receive_packet()123 Ok(*self.last_err.as_ref().map_err(|_| TransportError::Others("USB send error"))?) in send_packet()
82 .map_err(|_| BlockIoError::Others(Some("EFI BLOCK_IO protocol read error"))) in read_blocks()92 .map_err(|_| BlockIoError::Others(Some("EFI BLOCK_IO protocol write error"))) in write_blocks()
151 IoStatus::Aborted => return Err(BlockIoError::Others(Some("Read aborted"))), in read_blocks()171 IoStatus::Aborted => return Err(BlockIoError::Others(Some("write aborted"))), in write_blocks()
188 Others(Option<&'static str>), enumerator
84 Others(&'static str), enumerator1119 _ => Err(TransportError::Others("No more data")), in receive_packet()1151 *ele = self.in_queue.pop_front().ok_or(TransportError::Others("No more data"))?; in read_exact()