pub struct RejectVocab;Expand description
A term could only be expanded through the vocabulary mapping, while
Options::vocab was set to Action::Reject.
Reported by the loader-free expansion path, which cannot construct an
Error; callers convert it into Error::ForbiddenVocab.
Trait Implementations§
Source§impl Debug for RejectVocab
impl Debug for RejectVocab
Source§impl<E> From<RejectVocab> for Error<E>
impl<E> From<RejectVocab> for Error<E>
Source§fn from(_value: RejectVocab) -> Self
fn from(_value: RejectVocab) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RejectVocab
impl RefUnwindSafe for RejectVocab
impl Send for RejectVocab
impl Sync for RejectVocab
impl Unpin for RejectVocab
impl UnsafeUnpin for RejectVocab
impl UnwindSafe for RejectVocab
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
Source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
Source§fn as_unordered(&self) -> &Unordered<T>
fn as_unordered(&self) -> &Unordered<T>
Views this value as an
Unordered reference.