Enum quakeworld::protocol::message::errors::MessageError
source · pub enum MessageError {
ReadBeyondSize(usize, usize, usize),
UnhandledType(ServerClient),
UnknownType(u8),
StringError(String),
BadRead,
}
Variants§
ReadBeyondSize(usize, usize, usize)
UnhandledType(ServerClient)
UnknownType(u8)
StringError(String)
BadRead
Trait Implementations§
source§impl Debug for MessageError
impl Debug for MessageError
source§impl Display for MessageError
impl Display for MessageError
source§impl Error for MessageError
impl Error for MessageError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<MessageError> for MvdParseError
impl From<MessageError> for MvdParseError
source§fn from(err: MessageError) -> MvdParseError
fn from(err: MessageError) -> MvdParseError
Converts to this type from the input type.
source§impl From<String> for MessageError
impl From<String> for MessageError
source§fn from(err: String) -> MessageError
fn from(err: String) -> MessageError
Converts to this type from the input type.