pub enum PartialLoad {
Ready(Box<PartialDescriptor>),
Ineligible {
bytes_read: u64,
},
}Expand description
The outcome of inspecting a descriptor for lazy serving.
Variants§
Ready(Box<PartialDescriptor>)
The descriptor can be served lazily.
Ineligible
The descriptor is ineligible; bytes_read is the (small) number of bytes
the inspection fetched before declining.
Auto Trait Implementations§
impl !RefUnwindSafe for PartialLoad
impl !Sync for PartialLoad
impl Freeze for PartialLoad
impl Send for PartialLoad
impl Unpin for PartialLoad
impl UnsafeUnpin for PartialLoad
impl UnwindSafe for PartialLoad
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