#[non_exhaustive]pub struct UndeclaredRead { /* private fields */ }Expand description
A hand-written Construct read a key its
dependencies does not declare.
The wiring pass learns what a binding reads from the declaration alone, so an undeclared read
escapes the missing-binding, cycle and scope checks. The first construction refuses it, in
every build, as a Permanent failure: the declaration cannot mend itself on a retry.
Generated Construct impls declare what they read.
Implementations§
Trait Implementations§
Source§impl Clone for UndeclaredRead
impl Clone for UndeclaredRead
Source§impl Debug for UndeclaredRead
impl Debug for UndeclaredRead
Source§impl Display for UndeclaredRead
impl Display for UndeclaredRead
Source§impl Error for UndeclaredRead
impl Error for UndeclaredRead
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 UndeclaredRead
impl Freeze for UndeclaredRead
impl Move for UndeclaredRead
impl RefUnwindSafe for UndeclaredRead
impl Send for UndeclaredRead
impl Sync for UndeclaredRead
impl Unpin for UndeclaredRead
impl UnsafeUnpin for UndeclaredRead
impl UnwindSafe for UndeclaredRead
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