pub enum Content {
Ready(Value),
Pending,
Refused,
}Expand description
What a ContentSource has for an item.
Variants§
Ready(Value)
The rendered content.
Pending
Not rendered yet: the read gives undefined, and the render that
made it is only a draft.
Refused
It will never be there: the page failed, or 11ty doesn’t render it.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Content
impl Freeze for Content
impl Move for Content
impl RefUnwindSafe for Content
impl Send for Content
impl Sync for Content
impl Unpin for Content
impl UnsafeUnpin for Content
impl UnwindSafe for Content
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