fcla 0.1.0

Command line argument parsing
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::internal::*;
use std::sync;

impl FromArg for sync::Barrier {
    type Parent = usize;
    type Error = Infallible;

    fn from_arg(arg: Self::Parent) -> Result<Self, Self::Error> {
        Ok(Self::new(arg))
    }

    fn box_error(error: Self::Error) -> Box<dyn Error + Send + Sync> {
        match error {}
    }
}