pub enum InstanceError {
CaptureMismatch {
expected: usize,
actual: usize,
},
CaptureNameMismatch {
index: usize,
expected: String,
actual: String,
},
ManagedEdge(StrongEdgeMutationError),
}Expand description
Failure to construct a managed function instance.
Variants§
CaptureMismatch
Capture cells must exactly follow the plan’s declared slots.
Fields
CaptureNameMismatch
A supplied cell did not match the corresponding frozen capture slot.
Fields
ManagedEdge(StrongEdgeMutationError)
The shared managed node refused a capture edge.
Trait Implementations§
Source§impl Debug for InstanceError
impl Debug for InstanceError
Source§impl Display for InstanceError
impl Display for InstanceError
Source§impl Error for InstanceError
impl Error for InstanceError
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 Freeze for InstanceError
impl RefUnwindSafe for InstanceError
impl Send for InstanceError
impl Sync for InstanceError
impl Unpin for InstanceError
impl UnsafeUnpin for InstanceError
impl UnwindSafe for InstanceError
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