pub struct NetworkCaptureError(/* private fields */);Expand description
How one network declaration was not read.
Implementations§
Source§impl NetworkCaptureError
impl NetworkCaptureError
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 network 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 NetworkCaptureError
impl Clone for NetworkCaptureError
Source§fn clone(&self) -> NetworkCaptureError
fn clone(&self) -> NetworkCaptureError
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 NetworkCaptureError
Source§impl Debug for NetworkCaptureError
impl Debug for NetworkCaptureError
Source§impl Display for NetworkCaptureError
impl Display for NetworkCaptureError
impl Eq for NetworkCaptureError
Source§impl Error for NetworkCaptureError
impl Error for NetworkCaptureError
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 NetworkCaptureError
impl Hash for NetworkCaptureError
Source§impl PartialEq for NetworkCaptureError
impl PartialEq for NetworkCaptureError
Source§impl Refused for NetworkCaptureError
impl Refused for NetworkCaptureError
Source§const FAMILY: Family = NETWORK_HELPER_FAMILY
const FAMILY: Family = NETWORK_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 NetworkCaptureError
Auto Trait Implementations§
impl Freeze for NetworkCaptureError
impl RefUnwindSafe for NetworkCaptureError
impl Send for NetworkCaptureError
impl Sync for NetworkCaptureError
impl Unpin for NetworkCaptureError
impl UnsafeUnpin for NetworkCaptureError
impl UnwindSafe for NetworkCaptureError
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