pub enum SkipReason {
Duplicate,
Unreadable,
NotUtf8,
NoBudget,
}Expand description
Why a document did not reach its segment. Closed: an assembler that finds a fifth reason states it here, where every reader sees it.
Variants§
Duplicate
An earlier slot already carried this document; the first slot wins, because the earlier slot is the more cacheable one.
Unreadable
The resolver returned no bytes for the address.
NotUtf8
The bytes are not UTF-8, and a prompt is text.
NoBudget
The slot’s byte cap was already spent.
Trait Implementations§
Source§impl Clone for SkipReason
impl Clone for SkipReason
impl Copy for SkipReason
Source§impl Debug for SkipReason
impl Debug for SkipReason
Source§impl<'de> Deserialize<'de> for SkipReason
impl<'de> Deserialize<'de> for SkipReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SkipReason
Source§impl PartialEq for SkipReason
impl PartialEq for SkipReason
Source§impl Serialize for SkipReason
impl Serialize for SkipReason
impl StructuralPartialEq for SkipReason
Auto Trait Implementations§
impl Freeze for SkipReason
impl RefUnwindSafe for SkipReason
impl Send for SkipReason
impl Sync for SkipReason
impl Unpin for SkipReason
impl UnsafeUnpin for SkipReason
impl UnwindSafe for SkipReason
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