pub struct ValueProjectionError(pub String);Expand description
Failure projecting a RuntimeValue back into a typed Rust
scalar. Carried by every TryFrom<RuntimeValue> impl so generated
code can wrap with field/argument context.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl Clone for ValueProjectionError
impl Clone for ValueProjectionError
Source§impl Debug for ValueProjectionError
impl Debug for ValueProjectionError
Source§impl Display for ValueProjectionError
impl Display for ValueProjectionError
Source§impl Error for ValueProjectionError
impl Error for ValueProjectionError
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()
Auto Trait Implementations§
impl Forget for ValueProjectionError
impl Freeze for ValueProjectionError
impl Move for ValueProjectionError
impl RefUnwindSafe for ValueProjectionError
impl Send for ValueProjectionErrorwhere
RawVecInner: Send,
impl Sync for ValueProjectionErrorwhere
RawVecInner: Sync,
impl Unpin for ValueProjectionError
impl UnsafeUnpin for ValueProjectionError
impl UnwindSafe for ValueProjectionErrorwhere
RawVecInner: UnwindSafe,
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