pub enum BodyOutcome {
Present(String),
Removed,
TooLarge,
Unavailable(String),
}Expand description
The rendered outcome for one thread pointer.
Variants§
Present(String)
The re-fetched (textual) body.
Removed
The author deleted the pod resource.
TooLarge
The body exceeded the size cap.
A fetch/config error (no resolver, network failure, …).
Trait Implementations§
Source§impl Clone for BodyOutcome
impl Clone for BodyOutcome
Source§fn clone(&self) -> BodyOutcome
fn clone(&self) -> BodyOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BodyOutcome
impl Debug for BodyOutcome
impl Eq for BodyOutcome
Source§impl PartialEq for BodyOutcome
impl PartialEq for BodyOutcome
impl StructuralPartialEq for BodyOutcome
Auto Trait Implementations§
impl Freeze for BodyOutcome
impl RefUnwindSafe for BodyOutcome
impl Send for BodyOutcome
impl Sync for BodyOutcome
impl Unpin for BodyOutcome
impl UnsafeUnpin for BodyOutcome
impl UnwindSafe for BodyOutcome
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