pub enum ValidFragmentError {
BranchParseError,
BadName(SArc<String>),
InvalidReversePath(&'static str),
}
Expand description
Error for parsing a fragment
Variants§
BranchParseError
branch could not be parsed (must be alphanumeric for user generated)
BadName(SArc<String>)
name was using some reserved characters
InvalidReversePath(&'static str)
Other error
Trait Implementations§
source§impl Clone for ValidFragmentError
impl Clone for ValidFragmentError
source§fn clone(&self) -> ValidFragmentError
fn clone(&self) -> ValidFragmentError
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 ValidFragmentError
impl Debug for ValidFragmentError
source§impl Deserialize<'static> for ValidFragmentError
impl Deserialize<'static> for ValidFragmentError
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for ValidFragmentError
impl Display for ValidFragmentError
source§impl Error for ValidFragmentError
impl Error for ValidFragmentError
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<ParseIntError> for ValidFragmentError
impl From<ParseIntError> for ValidFragmentError
source§fn from(_u: ParseIntError) -> ValidFragmentError
fn from(_u: ParseIntError) -> ValidFragmentError
Converts to this type from the input type.
source§impl Hash for ValidFragmentError
impl Hash for ValidFragmentError
source§impl JsonSchema for ValidFragmentError
impl JsonSchema for ValidFragmentError
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq for ValidFragmentError
impl PartialEq for ValidFragmentError
source§fn eq(&self, other: &ValidFragmentError) -> bool
fn eq(&self, other: &ValidFragmentError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ValidFragmentError
impl Serialize for ValidFragmentError
impl Eq for ValidFragmentError
impl StructuralEq for ValidFragmentError
impl StructuralPartialEq for ValidFragmentError
Auto Trait Implementations§
impl RefUnwindSafe for ValidFragmentError
impl Send for ValidFragmentError
impl Sync for ValidFragmentError
impl Unpin for ValidFragmentError
impl UnwindSafe for ValidFragmentError
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