Trait Unvoidable

Source
pub trait Unvoidable {
    type Result;

    // Required method
    fn not_void(self) -> Self::Result;
}
Expand description

Things that you can call not_void on

Required Associated Types§

Required Methods§

Source

fn not_void(self) -> Self::Result

Implementations on Foreign Types§

Source§

impl<A> Unvoidable for Result<A, Void>

Eliminate a Result<_, Void>

Source§

type Result = A

Source§

fn not_void(self) -> A

Implementors§