pub fn to_shutdown_after_duration(&self) -> Option<Duration> {
        self.shutdown_after
            .as_ref()
            .copied()
            .map(Duration::from_secs_f32)
    }
/// Creates a new duration representing the shutdown period in seconds
Creates a new duration representing the shutdown period in seconds
Creates a new duration representing the shutdown period in seconds
pub fn to_shutdown_after_duration(&self) -> Option<Duration> {
        self.shutdown_after
            .as_ref()
            .copied()
            .map(Duration::from_secs_f32)
    }
pub fn to_shutdown_after_duration ( & self ) -> Option < Duration > { self . shutdown_after . as_ref ( ) . copied ( ) . map ( Duration :: from_secs_f32 ) }
Creates a new duration representing the shutdown period in seconds
Creates a new duration representing the shutdown period in seconds
&self