pub struct FragmentGenerationRefusal { /* private fields */ }Expand description
One refused captured-fragment projection with the exact source span it belongs to.
Implementations§
Source§impl FragmentGenerationRefusal
impl FragmentGenerationRefusal
Sourcepub const fn issue(self) -> FragmentGenerationIssue
pub const fn issue(self) -> FragmentGenerationIssue
The exact conversion issue this projection established.
Sourcepub const fn token(self) -> Option<SpanHandle>
pub const fn token(self) -> Option<SpanHandle>
The exact captured producer span available at the refusal site.
Trait Implementations§
Source§impl Clone for FragmentGenerationRefusal
impl Clone for FragmentGenerationRefusal
Source§fn clone(&self) -> FragmentGenerationRefusal
fn clone(&self) -> FragmentGenerationRefusal
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 FragmentGenerationRefusal
Source§impl Debug for FragmentGenerationRefusal
impl Debug for FragmentGenerationRefusal
Source§impl Display for FragmentGenerationRefusal
impl Display for FragmentGenerationRefusal
impl Eq for FragmentGenerationRefusal
Source§impl Error for FragmentGenerationRefusal
impl Error for FragmentGenerationRefusal
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 FragmentGenerationRefusal
impl Hash for FragmentGenerationRefusal
impl StructuralPartialEq for FragmentGenerationRefusal
Auto Trait Implementations§
impl Freeze for FragmentGenerationRefusal
impl RefUnwindSafe for FragmentGenerationRefusal
impl Send for FragmentGenerationRefusal
impl Sync for FragmentGenerationRefusal
impl Unpin for FragmentGenerationRefusal
impl UnsafeUnpin for FragmentGenerationRefusal
impl UnwindSafe for FragmentGenerationRefusal
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