fetchlib 0.0.13

A lib for remote server connection through ssh
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std::fmt::Display;

#[derive(Debug)]
pub enum BlockedType {
    FilePresent,
}

impl Display for BlockedType {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let key = match self {
            Self::FilePresent => "File already present",
        };
        write!(f, "{}", key)
    }
}