Lines Matching refs:MessageError
10 pub enum MessageError { enum
14 impl From<serde_cbor::Error> for MessageError { implementation
16 MessageError::SerializationError(other) in from()
19 impl From<std::io::Error> for MessageError { implementation
21 MessageError::IoError(other) in from()
24 impl std::fmt::Display for MessageError { implementation
27 MessageError::SerializationError(error) => write!( in fmt()
32 MessageError::IoError(error) => write!( in fmt()
40 impl std::error::Error for MessageError { implementation
43 MessageError::SerializationError(err) => Some(err), in source()
44 MessageError::IoError(err) => Some(err), in source()
106 pub fn recv(&mut self) -> Result<IncomingMessage, MessageError> { in recv() argument
116 pub fn send(&mut self, message: &OutgoingMessage) -> Result<(), MessageError> { in send() argument
141 pub fn recv(&self) -> Result<IncomingMessage, MessageError> { in recv() argument
145 pub fn send(&self, message: &OutgoingMessage) -> Result<(), MessageError> { in send() argument
152 ) -> Result<(), MessageError> { in serve_value_formatter() argument