Skip to main content

Answer

Trait Answer 

Source
pub trait Answer {
    type Ok;
    type Err;
}

Required Associated Types§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<T, E> Answer for Result<T, E>

Source§

type Ok = T

Source§

type Err = E

Implementors§