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

    // Required method
    fn with_system_info(
        self,
        info: &(dyn SystemInfoInterface + 'static)
    ) -> 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: &(dyn SystemInfoInterface + 'static) ) -> Self::Output

Get the output derived from the given SystemInfo.

Implementors§

source§

impl<'a, F, R> WithSystemInfo<'a> for Fwhere F: 'a + FnOnce(&(dyn SystemInfoInterface + 'static)) -> R, R: 'a,

§

type Output = R