Home
last modified time | relevance | path

Searched defs:RecvError (Results 1 – 4 of 4) sorted by relevance

/smoltcp-0.9.1/src/socket/
Draw.rs35 pub enum RecvError { enum
228 pub fn recv(&mut self) -> Result<&[u8], RecvError> { in recv() argument
243 pub fn recv_slice(&mut self, data: &mut [u8]) -> Result<usize, RecvError> { in recv_slice() argument
255 pub fn peek(&mut self) -> Result<&[u8], RecvError> { in peek() argument
273 pub fn peek_slice(&mut self, data: &mut [u8]) -> Result<usize, RecvError> { in peek_slice() argument
Dudp.rs37 pub enum RecvError { enum
316 pub fn recv(&mut self) -> Result<(&[u8], IpEndpoint), RecvError> { in recv() argument
333 pub fn recv_slice(&mut self, data: &mut [u8]) -> Result<(usize, IpEndpoint), RecvError> { in recv_slice() argument
345 pub fn peek(&mut self) -> Result<(&[u8], &IpEndpoint), RecvError> { in peek() argument
366 pub fn peek_slice(&mut self, data: &mut [u8]) -> Result<(usize, &IpEndpoint), RecvError> { in peek_slice() argument
Dicmp.rs38 pub enum RecvError { enum
348 pub fn recv(&mut self) -> Result<(&[u8], IpAddress), RecvError> { in recv() argument
363 pub fn recv_slice(&mut self, data: &mut [u8]) -> Result<(usize, IpAddress), RecvError> { in recv_slice() argument
Dtcp.rs50 pub enum RecvError { enum
1045 fn recv_error_check(&mut self) -> Result<(), RecvError> { in recv_error_check() argument
1102 pub fn recv_slice(&mut self, data: &mut [u8]) -> Result<usize, RecvError> { in recv_slice() argument
1113 pub fn peek(&mut self, size: usize) -> Result<&[u8], RecvError> { in peek() argument
1128 pub fn peek_slice(&mut self, data: &mut [u8]) -> Result<usize, RecvError> { in peek_slice() argument