pub enum Settle {
Await,
AsIs,
}Expand description
How a call’s result is used.
Variants§
Await
Await a promise, as Liquid and 11ty’s computed data do.
AsIs
Take the result as it is, as Nunjucks does: a promise can’t cross.
Trait Implementations§
impl Copy for Settle
impl Eq for Settle
impl StructuralPartialEq for Settle
Auto Trait Implementations§
impl Forget for Settle
impl Freeze for Settle
impl Move for Settle
impl RefUnwindSafe for Settle
impl Send for Settle
impl Sync for Settle
impl Unpin for Settle
impl UnsafeUnpin for Settle
impl UnwindSafe for Settle
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.