pub trait WithSystemInfo<'a>: 'a {
    type Output: 'a;

    // Required method
    fn with_system_info(self, info: &SystemInfo) -> Self::Output;
}
Expand description

Values which can provide an output given the SystemInfo.

Required Associated Types§

source

type Output: 'a

Required Methods§

source

fn with_system_info(self, info: &SystemInfo) -> Self::Output

Get the output derived from the given SystemInfo.

Implementors§

source§

impl<'a, F, R: 'a> WithSystemInfo<'a> for F
where F: FnOnce(&SystemInfo) -> R + 'a,

§

type Output = R