#[non_exhaustive]pub enum RetainedRefusal {
InvalidSource(&'static str),
UnsupportedSource(String),
SourceNotCaptured,
WrongWorker,
FrameMismatch,
InvalidTessellation(&'static str),
PersistentFaceProvenanceUnavailable,
AnalyticNormalsUnavailable,
IfcAppearanceUnavailable,
Document(DocumentError),
}Expand description
Every refusal of the retained contract. A refused call leaves the document and its revision unchanged; a refused completion is never published.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InvalidSource(&'static str)
The source is outside the encodable numerical domain or inconsistent.
UnsupportedSource(String)
The analytic extractor already refused this source family or record.
SourceNotCaptured
Extracted without crate::analytic::with_source_capture: the original
trim, sense and placement records are unavailable, so nothing is retained.
WrongWorker
Worker incarnation 0, or a completion from a worker other than the live one.
FrameMismatch
The completion’s evaluation frame differs from the request’s frame.
InvalidTessellation(&'static str)
Revision-local worker faces are not persistent IFC face identities.
Flat corner normals are not smooth analytic surface normals.
No style, material or texture is attributed to a retained display.
Document(DocumentError)
Trait Implementations§
Source§impl Debug for RetainedRefusal
impl Debug for RetainedRefusal
Source§impl Display for RetainedRefusal
impl Display for RetainedRefusal
Source§impl Error for RetainedRefusal
impl Error for RetainedRefusal
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Source§impl From<DocumentError> for RetainedRefusal
impl From<DocumentError> for RetainedRefusal
Source§fn from(source: DocumentError) -> Self
fn from(source: DocumentError) -> Self
Source§impl PartialEq for RetainedRefusal
impl PartialEq for RetainedRefusal
impl Eq for RetainedRefusal
impl StructuralPartialEq for RetainedRefusal
Auto Trait Implementations§
impl Freeze for RetainedRefusal
impl RefUnwindSafe for RetainedRefusal
impl Send for RetainedRefusal
impl Sync for RetainedRefusal
impl Unpin for RetainedRefusal
impl UnwindSafe for RetainedRefusal
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
§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.