Fields
error: u8
error_string: String
Implementations
sourceimpl 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
sourceimpl InternalDefault for TF2Error
impl InternalDefault for TF2Error
sourceimpl MessageT for TF2Error
impl MessageT for TF2Error
type Raw = TF2Error_Raw
type RawRef = TF2Error_RawRef
fn type_support() -> *const c_void
unsafe fn from_raw(from: &Self::Raw) -> Self
unsafe fn to_raw_ref(&self) -> Self::RawRef
impl StructuralPartialEq for TF2Error
Auto Trait Implementations
impl RefUnwindSafe for TF2Error
impl Send for TF2Error
impl Sync for TF2Error
impl Unpin for TF2Error
impl UnwindSafe for TF2Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more