Function swap::file_truncator::truncate_worker

source ·
fn truncate_worker(
    timer: Box<dyn TimerTrait>,
    file: File,
    kill_evt: Event,
) -> Result<File>