Skip to main content

ComputedReadResult

Trait ComputedReadResult 

Source
#[doc(hidden)]
pub trait ComputedReadResult { type Value; type Ok; type Err; // Required method fn __mx_computed_read( &self, value: Self::Value, ) -> ComputedRead<Self::Ok, Self::Err>; }
Expand description

Second arm: any other Result<T, E>, whose Err is raised.

Required Associated Types§

Required Methods§

Source

fn __mx_computed_read( &self, value: Self::Value, ) -> ComputedRead<Self::Ok, Self::Err>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T, E> ComputedReadResult for &ComputedProbe<Result<T, E>>

Source§

type Value = Result<T, E>

Source§

type Ok = T

Source§

type Err = E