pub struct AuthoredItemReadRefusal { /* private fields */ }Expand description
One refused authored-item lens with the exact available producer span.
Implementations§
Source§impl AuthoredItemReadRefusal
impl AuthoredItemReadRefusal
Sourcepub const fn issue(self) -> AuthoredItemReadIssue
pub const fn issue(self) -> AuthoredItemReadIssue
The structural item-envelope issue this read established.
Sourcepub const fn token(self) -> Option<SpanHandle>
pub const fn token(self) -> Option<SpanHandle>
The exact producer span available at the refusal site.
Trait Implementations§
Source§impl Clone for AuthoredItemReadRefusal
impl Clone for AuthoredItemReadRefusal
Source§fn clone(&self) -> AuthoredItemReadRefusal
fn clone(&self) -> AuthoredItemReadRefusal
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 AuthoredItemReadRefusal
Source§impl Debug for AuthoredItemReadRefusal
impl Debug for AuthoredItemReadRefusal
Source§impl Display for AuthoredItemReadRefusal
impl Display for AuthoredItemReadRefusal
impl Eq for AuthoredItemReadRefusal
Source§impl Error for AuthoredItemReadRefusal
impl Error for AuthoredItemReadRefusal
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 AuthoredItemReadRefusal
impl Hash for AuthoredItemReadRefusal
Source§impl PartialEq for AuthoredItemReadRefusal
impl PartialEq for AuthoredItemReadRefusal
impl StructuralPartialEq for AuthoredItemReadRefusal
Auto Trait Implementations§
impl Freeze for AuthoredItemReadRefusal
impl RefUnwindSafe for AuthoredItemReadRefusal
impl Send for AuthoredItemReadRefusal
impl Sync for AuthoredItemReadRefusal
impl Unpin for AuthoredItemReadRefusal
impl UnsafeUnpin for AuthoredItemReadRefusal
impl UnwindSafe for AuthoredItemReadRefusal
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