Struct parsell::impls::Try [] [src]

pub struct Try<F>(_);

Methods

impl<F> Try<F>
[src]

fn new(f: F) -> Try<F>

Trait Implementations

impl<F: Debug> Debug for Try<F>
[src]

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

Formats the value using the given formatter.

impl<F: Clone> Clone for Try<F>
[src]

fn clone(&self) -> Try<F>

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<F: Copy> Copy for Try<F>
[src]

impl<F, S, T, E> Function<Result<S, E>> for Try<F> where F: Function<S, Output=Result<T, E>>
[src]

type Output = Result<T, E>

fn apply(&self, args: Result<S, E>) -> Result<T, E>