Enum minetest_protocol::wire::ser::SerializeError
source · pub enum SerializeError {
BufferLimit(String),
InvalidValue(String),
CompressionFailed(String),
}
Variants§
Trait Implementations§
source§impl Clone for SerializeError
impl Clone for SerializeError
source§fn clone(&self) -> SerializeError
fn clone(&self) -> SerializeError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SerializeError
impl Debug for SerializeError
source§impl Display for SerializeError
impl Display for SerializeError
source§impl Error for SerializeError
impl Error for SerializeError
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<TryFromIntError> for SerializeError
impl From<TryFromIntError> for SerializeError
source§fn from(other: TryFromIntError) -> SerializeError
fn from(other: TryFromIntError) -> SerializeError
Converts to this type from the input type.