pub enum TransductionError {
NonFiniteParameter,
InvalidPhotoacousticParameter,
StressConfinementViolated {
pulse_duration_s: f64,
stress_relaxation_s: f64,
},
ThermalConfinementViolated {
pulse_duration_s: f64,
thermal_diffusion_s: f64,
},
ThermodynamicEnergyBoundExceeded {
acoustic_energy_density_j_m3: f64,
absorbed_optical_energy_density_j_m3: f64,
},
InvalidPiezoelectricStiffnessOrPermittivity,
ElectromechanicalCouplingUnstable {
k_squared: f64,
},
InvalidThermoElasticParameter,
RawMemcpyBetweenOppositeCarrierConventionsForbidden,
Acoustic(AcousticCouplingError),
Constitutive(ConstitutiveError),
Dispersion(DispersionError),
}Expand description
Errors arising during cross-domain transduction or carrier conversion.
Variants§
NonFiniteParameter
InvalidPhotoacousticParameter
StressConfinementViolated
ThermalConfinementViolated
ThermodynamicEnergyBoundExceeded
InvalidPiezoelectricStiffnessOrPermittivity
ElectromechanicalCouplingUnstable
InvalidThermoElasticParameter
RawMemcpyBetweenOppositeCarrierConventionsForbidden
Acoustic(AcousticCouplingError)
Constitutive(ConstitutiveError)
Dispersion(DispersionError)
Trait Implementations§
Source§impl Clone for TransductionError
impl Clone for TransductionError
impl Copy for TransductionError
Source§impl Debug for TransductionError
impl Debug for TransductionError
Source§impl From<AcousticCouplingError> for TransductionError
impl From<AcousticCouplingError> for TransductionError
Source§fn from(e: AcousticCouplingError) -> Self
fn from(e: AcousticCouplingError) -> Self
Converts to this type from the input type.
Source§impl From<ConstitutiveError> for TransductionError
impl From<ConstitutiveError> for TransductionError
Source§fn from(e: ConstitutiveError) -> Self
fn from(e: ConstitutiveError) -> Self
Converts to this type from the input type.
Source§impl From<DispersionError> for TransductionError
impl From<DispersionError> for TransductionError
Source§fn from(e: DispersionError) -> Self
fn from(e: DispersionError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TransductionError
impl PartialEq for TransductionError
impl StructuralPartialEq for TransductionError
Auto Trait Implementations§
impl Freeze for TransductionError
impl RefUnwindSafe for TransductionError
impl Send for TransductionError
impl Sync for TransductionError
impl Unpin for TransductionError
impl UnsafeUnpin for TransductionError
impl UnwindSafe for TransductionError
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