pub enum MaterialBindingError {
Show 23 variants
NonFiniteTransformComponent,
InvalidClockParameters,
InvalidInstantSubtick,
ClockOriginMismatch {
expected_clock_id: u32,
actual_clock_id: u32,
},
RationalArithmeticOverflow,
InvalidValidityIntervalOrder,
ValidityIntervalExpiredOrNotYetActive,
TransformFrameMismatch {
expected_source_frame: u32,
actual_source_frame: u32,
expected_target_frame: u32,
actual_target_frame: u32,
},
TransformProjectiveRowInvalid,
ImproperReflectionRejected {
determinant: f64,
},
NonOrthogonalOrShearedTransformRejected {
orthogonality_residual: f64,
determinant: f64,
},
UnsupportedGeneralAffineInInitialSolver,
UnsupportedMovingFrameInInitialSolver,
ContainerDigestMismatch {
expected: [u8; 32],
actual: [u8; 32],
},
MaterialTableDigestMismatch {
expected: [u8; 32],
actual: [u8; 32],
},
TableSchemaRevisionMismatch {
expected: u16,
actual: u16,
},
TableEpochMismatch {
expected_epoch: u16,
actual_epoch: u16,
},
MaterialIndexOutOfRange {
index: usize,
table_len: usize,
},
LutEntryCrcInvalid(M64Error),
M64ContainerStructuralError(M64ReadError),
CanonicalMaterialHashMismatch {
expected: u64,
actual: u64,
},
ProvenanceDidHashMismatch {
expected: u64,
actual: u64,
},
SpatialKeyAloneInsufficient,
}Expand description
Errors arising during cryptographic material binding, frame transform, or rational clock verification.
Variants§
NonFiniteTransformComponent
InvalidClockParameters
InvalidInstantSubtick
ClockOriginMismatch
RationalArithmeticOverflow
InvalidValidityIntervalOrder
ValidityIntervalExpiredOrNotYetActive
TransformFrameMismatch
Fields
TransformProjectiveRowInvalid
ImproperReflectionRejected
NonOrthogonalOrShearedTransformRejected
UnsupportedGeneralAffineInInitialSolver
UnsupportedMovingFrameInInitialSolver
ContainerDigestMismatch
MaterialTableDigestMismatch
TableSchemaRevisionMismatch
TableEpochMismatch
MaterialIndexOutOfRange
LutEntryCrcInvalid(M64Error)
M64ContainerStructuralError(M64ReadError)
CanonicalMaterialHashMismatch
ProvenanceDidHashMismatch
SpatialKeyAloneInsufficient
Trait Implementations§
Source§impl Clone for MaterialBindingError
impl Clone for MaterialBindingError
impl Copy for MaterialBindingError
Source§impl Debug for MaterialBindingError
impl Debug for MaterialBindingError
Source§impl PartialEq for MaterialBindingError
impl PartialEq for MaterialBindingError
impl StructuralPartialEq for MaterialBindingError
Auto Trait Implementations§
impl Freeze for MaterialBindingError
impl RefUnwindSafe for MaterialBindingError
impl Send for MaterialBindingError
impl Sync for MaterialBindingError
impl Unpin for MaterialBindingError
impl UnsafeUnpin for MaterialBindingError
impl UnwindSafe for MaterialBindingError
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> ⓘ
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> ⓘ
Converts
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> ⓘ
Converts
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