#[non_exhaustive]pub enum PublishOutcome {
NotAttempted,
Published {
bytes: u64,
},
AlreadyPresent,
SkippedOversized {
bytes: u64,
limit: u64,
},
SkippedConcurrentWriter,
SkippedLowDiskSpace,
SkippedPolicyChanged,
SkippedResourceStop,
SkippedRefusalReported,
Unencodable(String),
Failed(String),
}Expand description
What happened to the live result afterwards.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
NotAttempted
Read-only, off, bypassed or a hit.
Published
AlreadyPresent
An identical entry was already stored.
SkippedOversized
SkippedConcurrentWriter
Another process holds this key’s writer lock and is storing it.
SkippedLowDiskSpace
Less than the write plus 1 GiB of headroom is free.
SkippedPolicyChanged
An output-policy setter ran while the pass ran (even one undone before it ended), so the result may mix policies and is not this key’s.
SkippedResourceStop
A job of this pass ran under resource state it did not install (a stopped terminal domain, another caller’s account), or a product somewhere in the process was stopped while it ran: the result may be incomplete.
SkippedRefusalReported
The pass reported refused input through a process-wide channel a replay
would not repeat: a scan diagnostic through core’s report sink
(refused records, malformed file) or a refused texture binary
(ifc_lite_geometry::binary_textures_refused).
Unencodable(String)
The result breaks a structural invariant the decoder enforces.
Failed(String)
Trait Implementations§
Source§impl Clone for PublishOutcome
impl Clone for PublishOutcome
Source§fn clone(&self) -> PublishOutcome
fn clone(&self) -> PublishOutcome
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PublishOutcome
impl Debug for PublishOutcome
Source§impl Default for PublishOutcome
impl Default for PublishOutcome
Source§fn default() -> PublishOutcome
fn default() -> PublishOutcome
Source§impl PartialEq for PublishOutcome
impl PartialEq for PublishOutcome
impl Eq for PublishOutcome
impl StructuralPartialEq for PublishOutcome
Auto Trait Implementations§
impl Freeze for PublishOutcome
impl RefUnwindSafe for PublishOutcome
impl Send for PublishOutcome
impl Sync for PublishOutcome
impl Unpin for PublishOutcome
impl UnwindSafe for PublishOutcome
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read moreSource§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.