pub struct Refusal {
pub why: String,
pub impure: bool,
}Expand description
Why a call’s outcome can’t be used exactly.
Fields§
§why: StringThe reason, naming the function: it reads what Brrrty can’t hand it, changes its arguments, or returns something that can’t cross.
impure: boolThe function gave different results for the same data: it keeps state between calls, so any page’s result from it may differ from 11ty’s.
Implementations§
Trait Implementations§
impl Eq for Refusal
impl StructuralPartialEq for Refusal
Auto Trait Implementations§
impl Forget for Refusal
impl Freeze for Refusal
impl Move for Refusal
impl RefUnwindSafe for Refusal
impl Send for Refusalwhere
RawVecInner: Send,
impl Sync for Refusalwhere
RawVecInner: Sync,
impl Unpin for Refusal
impl UnsafeUnpin for Refusal
impl UnwindSafe for Refusalwhere
RawVecInner: UnwindSafe,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.