Struct parsell::impls::TryOpt [] [src]

pub struct TryOpt;

Trait Implementations

impl Debug for TryOpt
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for TryOpt
[src]

fn clone(&self) -> TryOpt

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for TryOpt
[src]

impl<T, E> Function<Option<Result<T, E>>> for TryOpt
[src]

type Output = Result<Option<T>, E>

fn apply(&self, arg: Option<Result<T, E>>) -> Result<Option<T>, E>

impl<T, E> VariantFunction<Result<Option<T>, E>> for TryOpt
[src]

type Input = Option<Result<T, E>>

fn apply(&self, arg: Option<Result<T, E>>) -> Result<Option<T>, E>