Type Definition opendp::error::Fallible

source ·
pub type Fallible<T> = Result<T, Error>;

Trait Implementations§

source§

impl<T> From<FfiResult<*mut T>> for Fallible<T>

source§

fn from(result: FfiResult<*mut T>) -> Self

Converts to this type from the input type.
source§

impl<T: IntoAnyMeasurementExt> IntoAnyMeasurementFfiResultExt for Fallible<T>

source§

impl<T: IntoAnyTransformationExt> IntoAnyTransformationFfiResultExt for Fallible<T>

source§

impl<DI, DX, DO, MI, MX, MO> Shr<Measurement<DX, DO, MX, MO>> for Fallible<Transformation<DI, DX, MI, MX>>where
DI: 'static + Domain,
DX: 'static + Domain,
DO: 'static + Domain,
MI: 'static + Metric,
MX: 'static + Metric,
MO: 'static + Measure,

§

type Output = Result<Measurement<DI, DO, MI, MO>, Error>

The resulting type after applying the >> operator.
source§

fn shr(self, rhs: Measurement<DX, DO, MX, MO>) -> Self::Output

Performs the >> operation. Read more
source§

impl<DI, DX, DO, MMI, MMO, MTI, MTO> Shr<Transformation<DX, DO, MTI, MTO>> for Fallible<Measurement<DI, DX, MMI, MMO>>where
DI: 'static + Domain,
DX: 'static + Domain,
DO: 'static + Domain,
MMI: 'static + Metric,
MMO: 'static + Measure,
MTI: 'static + Metric,
MTO: 'static + Metric,

§

type Output = Result<Measurement<DI, DO, MMI, MMO>, Error>

The resulting type after applying the >> operator.
source§

fn shr(self, rhs: Transformation<DX, DO, MTI, MTO>) -> Self::Output

Performs the >> operation. Read more
source§

impl<DI, DX, DO, MI, MX, MO> Shr<Transformation<DX, DO, MX, MO>> for Fallible<Transformation<DI, DX, MI, MX>>where
DI: 'static + Domain,
DX: 'static + Domain,
DO: 'static + Domain,
MI: 'static + Metric,
MX: 'static + Metric,
MO: 'static + Metric,

§

type Output = Result<Transformation<DI, DO, MI, MO>, Error>

The resulting type after applying the >> operator.
source§

fn shr(self, rhs: Transformation<DX, DO, MX, MO>) -> Self::Output

Performs the >> operation. Read more