pub struct ConcurrencyCaptureError(/* private fields */);Expand description
How one concurrency declaration was not read.
Implementations§
Source§impl ConcurrencyCaptureError
impl ConcurrencyCaptureError
Sourcepub const fn grammar_refused(
grammar: Grammar,
cause: CaptureCause,
at: SpanHandle,
) -> Self
pub const fn grammar_refused( grammar: Grammar, cause: CaptureCause, at: SpanHandle, ) -> Self
One refusal the concurrency grammar’s own reading established.
Sourcepub const fn binding_refused(
grammar: Grammar,
issue: CaptureIssue,
at: SpanHandle,
) -> Self
pub const fn binding_refused( grammar: Grammar, issue: CaptureIssue, at: SpanHandle, ) -> Self
One refusal from the direct-binding reading, retained without flattening its owner.
Sourcepub const fn refusal(&self) -> &HelperRefusal
pub const fn refusal(&self) -> &HelperRefusal
The refusal itself.
Trait Implementations§
Source§impl Clone for ConcurrencyCaptureError
impl Clone for ConcurrencyCaptureError
Source§fn clone(&self) -> ConcurrencyCaptureError
fn clone(&self) -> ConcurrencyCaptureError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ConcurrencyCaptureError
Source§impl Debug for ConcurrencyCaptureError
impl Debug for ConcurrencyCaptureError
Source§impl Display for ConcurrencyCaptureError
impl Display for ConcurrencyCaptureError
impl Eq for ConcurrencyCaptureError
Source§impl Error for ConcurrencyCaptureError
impl Error for ConcurrencyCaptureError
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 Hash for ConcurrencyCaptureError
impl Hash for ConcurrencyCaptureError
Source§impl PartialEq for ConcurrencyCaptureError
impl PartialEq for ConcurrencyCaptureError
Source§impl Refused for ConcurrencyCaptureError
impl Refused for ConcurrencyCaptureError
Source§const PHASE: Phase = crate::diagnostic::Phase::Capture
const PHASE: Phase = crate::diagnostic::Phase::Capture
The step of the road this refusal is raised at.
Source§const FAMILY: Family = CONCURRENCY_HELPER_FAMILY
const FAMILY: Family = CONCURRENCY_HELPER_FAMILY
The family whose issue space this refusal’s related identities derive in. Read more
Source§fn class(&self) -> RefusalClass
fn class(&self) -> RefusalClass
Which class of refusal the summary line opens with.
Source§fn observed(&self) -> Observed
fn observed(&self) -> Observed
How what was observed differs from the expected contract, read off that same first issue.
One canonical byte string per issue established BEYOND the primary cause, in the order the body established them. Read more
impl StructuralPartialEq for ConcurrencyCaptureError
Auto Trait Implementations§
impl Freeze for ConcurrencyCaptureError
impl RefUnwindSafe for ConcurrencyCaptureError
impl Send for ConcurrencyCaptureError
impl Sync for ConcurrencyCaptureError
impl Unpin for ConcurrencyCaptureError
impl UnsafeUnpin for ConcurrencyCaptureError
impl UnwindSafe for ConcurrencyCaptureError
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