Lines Matching refs:Result
43 fn try_from(value: i32) -> Result<Self, Self::Error> { in try_from()
72 fn read(&self, buf: &mut [u8]) -> (Result<usize, SystemError>, Endpoint); in read()
80 fn write(&self, buf: &[u8], to: Option<Endpoint>) -> Result<usize, SystemError>; in write()
92 fn connect(&mut self, endpoint: Endpoint) -> Result<(), SystemError>; in connect() argument
101 fn bind(&mut self, _endpoint: Endpoint) -> Result<(), SystemError> { in bind() argument
112 fn shutdown(&self, _type: ShutdownType) -> Result<(), SystemError> { in shutdown() argument
121 fn listen(&mut self, _backlog: usize) -> Result<(), SystemError> { in listen() argument
130 fn accept(&mut self) -> Result<(Box<dyn Socket>, Endpoint), SystemError> { in accept()
177 ) -> Result<usize, SystemError> { in ioctl()
182 fn metadata(&self) -> Result<SocketMetadata, SystemError>; in metadata()
198 ) -> Result<(), SystemError> { in setsockopt() argument
228 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() argument