Enum screeps::RawObjectIdParseError
source · [−]pub enum RawObjectIdParseError {
Parse(ParseIntError),
LargeValue(u128),
}
Variants
Parse(ParseIntError)
LargeValue(u128)
Trait Implementations
sourceimpl Clone for RawObjectIdParseError
impl Clone for RawObjectIdParseError
sourcefn clone(&self) -> RawObjectIdParseError
fn clone(&self) -> RawObjectIdParseError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RawObjectIdParseError
impl Debug for RawObjectIdParseError
sourceimpl Display for RawObjectIdParseError
impl Display for RawObjectIdParseError
sourceimpl Error for RawObjectIdParseError
impl Error for RawObjectIdParseError
sourcefn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<ParseIntError> for RawObjectIdParseError
impl From<ParseIntError> for RawObjectIdParseError
sourcefn from(e: ParseIntError) -> Self
fn from(e: ParseIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for RawObjectIdParseError
impl Send for RawObjectIdParseError
impl Sync for RawObjectIdParseError
impl Unpin for RawObjectIdParseError
impl UnwindSafe for RawObjectIdParseError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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, U> IntoExpectedType<U> for Twhere
U: FromExpectedType<T>,
impl<T, U> IntoExpectedType<U> for Twhere
U: FromExpectedType<T>,
sourcefn into_expected_type(self) -> Result<U, ConversionError>
fn into_expected_type(self) -> Result<U, ConversionError>
Casts this value as the target type, making the assumption that the types are correct. Read more