pub enum SelectionSetBuildError {
DuplicateFieldArgument {
argument_name: String,
location1: SourceLocation,
location2: SourceLocation,
},
ParseError(Arc<ParseError>),
StringIsNotASelectionSet,
UndefinedFieldName {
location: SourceLocation,
parent_type_name: String,
undefined_field_name: String,
},
UnselectableFieldType {
location: SourceLocation,
parent_type_kind: GraphQLTypeKind,
parent_type_name: String,
},
}Variants§
DuplicateFieldArgument
ParseError(Arc<ParseError>)
StringIsNotASelectionSet
UndefinedFieldName
UnselectableFieldType
Trait Implementations§
Source§impl Clone for SelectionSetBuildError
impl Clone for SelectionSetBuildError
Source§fn clone(&self) -> SelectionSetBuildError
fn clone(&self) -> SelectionSetBuildError
Returns a duplicate 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 SelectionSetBuildError
impl Debug for SelectionSetBuildError
Source§impl Display for SelectionSetBuildError
impl Display for SelectionSetBuildError
Source§impl Error for SelectionSetBuildError
impl Error for SelectionSetBuildError
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<ParseError> for SelectionSetBuildError
impl From<ParseError> for SelectionSetBuildError
Source§fn from(value: ParseError) -> Self
fn from(value: ParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SelectionSetBuildError
impl RefUnwindSafe for SelectionSetBuildError
impl Send for SelectionSetBuildError
impl Sync for SelectionSetBuildError
impl Unpin for SelectionSetBuildError
impl UnwindSafe for SelectionSetBuildError
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