pub struct TF2Error {
pub error: u8,
pub error_string: String,
}Fields§
§error: u8§error_string: StringImplementations§
Source§impl TF2Error
impl TF2Error
pub const NO_ERROR: u8 = 0u8
pub const LOOKUP_ERROR: u8 = 1u8
pub const CONNECTIVITY_ERROR: u8 = 2u8
pub const EXTRAPOLATION_ERROR: u8 = 3u8
pub const INVALID_ARGUMENT_ERROR: u8 = 4u8
pub const TIMEOUT_ERROR: u8 = 5u8
pub const TRANSFORM_ERROR: u8 = 6u8
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TF2Error
impl<'de> Deserialize<'de> for TF2Error
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Message for TF2Error
impl StructuralPartialEq for TF2Error
Auto Trait Implementations§
impl Freeze for TF2Error
impl RefUnwindSafe for TF2Error
impl Send for TF2Error
impl Sync for TF2Error
impl Unpin for TF2Error
impl UnwindSafe for TF2Error
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more