pub enum SpaceErr {
Status {
status: u16,
message: String,
},
ParseErrs(ParseErrs),
}
Variants§
Implementations§
Trait Implementations§
Source§impl CoreReflector for SpaceErr
impl CoreReflector for SpaceErr
fn as_reflected_core(self) -> ReflectedCore
Source§impl<'de> Deserialize<'de> for SpaceErr
impl<'de> Deserialize<'de> for SpaceErr
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
Source§impl Error for SpaceErr
impl Error for SpaceErr
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<FromUtf8Error> for SpaceErr
impl From<FromUtf8Error> for SpaceErr
Source§fn from(message: FromUtf8Error) -> Self
fn from(message: FromUtf8Error) -> Self
Converts to this type from the input type.
Source§impl From<Infallible> for SpaceErr
impl From<Infallible> for SpaceErr
Source§fn from(i: Infallible) -> Self
fn from(i: Infallible) -> Self
Converts to this type from the input type.
Source§impl From<ParseError> for SpaceErr
impl From<ParseError> for SpaceErr
Source§fn from(error: ParseError) -> Self
fn from(error: ParseError) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for SpaceErr
impl From<ParseIntError> for SpaceErr
Source§fn from(x: ParseIntError) -> Self
fn from(x: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl<T> From<PoisonError<T>> for SpaceErr
impl<T> From<PoisonError<T>> for SpaceErr
Source§fn from(e: PoisonError<T>) -> Self
fn from(e: PoisonError<T>) -> Self
Converts to this type from the input type.
Source§impl<C> From<SendTimeoutError<C>> for SpaceErr
impl<C> From<SendTimeoutError<C>> for SpaceErr
Source§fn from(e: SendTimeoutError<C>) -> Self
fn from(e: SendTimeoutError<C>) -> Self
Converts to this type from the input type.
Source§impl Into<ReflectedCore> for SpaceErr
impl Into<ReflectedCore> for SpaceErr
Source§fn into(self) -> ReflectedCore
fn into(self) -> ReflectedCore
Converts this type into the (usually inferred) input type.
Source§impl ToSubstance<SpaceErr> for Substance
impl ToSubstance<SpaceErr> for Substance
impl Eq for SpaceErr
impl StructuralPartialEq for SpaceErr
Auto Trait Implementations§
impl Freeze for SpaceErr
impl RefUnwindSafe for SpaceErr
impl Send for SpaceErr
impl Sync for SpaceErr
impl Unpin for SpaceErr
impl UnwindSafe for SpaceErr
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<I, T> ExtractContext<I, ()> for T
impl<I, T> ExtractContext<I, ()> for T
Source§fn extract_context(self, _original_input: I)
fn extract_context(self, _original_input: I)
Given the context attached to a nom error, and given the original
input to the nom parser, extract more the useful context information. Read more
Source§impl<T> Indentable for Twhere
T: Display,
impl<T> Indentable for Twhere
T: Display,
Source§fn indented_skip_initial(self, indent: &str) -> IndentedSkipIntial<'_, Self>
fn indented_skip_initial(self, indent: &str) -> IndentedSkipIntial<'_, Self>
Source§impl<I> RecreateContext<I> for I
impl<I> RecreateContext<I> for I
Source§fn recreate_context(_original_input: I, tail: I) -> I
fn recreate_context(_original_input: I, tail: I) -> I
Given the original input, as well as the context reported by nom,
recreate a context in the original string where the error occurred. Read more