Home
last modified time | relevance | path

Searched defs:KrillIoError (Results 1 – 5 of 5) sorted by relevance

/dports/net/krill/krill-0.9.4/src/commons/util/
H A Dfile.rs22 pub fn sub_dir(base: &Path, name: &str) -> Result<PathBuf, KrillIoError> { in sub_dir() argument
29 pub fn create_dir(dir: &Path) -> Result<(), KrillIoError> { in create_dir() argument
37 pub fn create_file_with_path(path: &Path) -> Result<File, KrillIoError> { in create_file_with_path() argument
60 pub fn save(content: &[u8], full_path: &Path) -> Result<(), KrillIoError> { in save() argument
70 pub fn save_json<O: Serialize>(object: &O, full_path: &Path) -> Result<(), KrillIoError> { in save_json() argument
76 pub fn load_json<O: DeserializeOwned>(full_path: &Path) -> Result<O, KrillIoError> { in load_json() argument
101 pub fn read(path: &Path) -> Result<Bytes, KrillIoError> { in read() argument
119 pub fn delete_in_dir(base_path: &Path, name: &str) -> Result<(), KrillIoError> { in delete_in_dir() argument
127 pub fn delete_file(full_path: &Path) -> Result<(), KrillIoError> { in delete_file() argument
134 pub fn clean_file_and_path(path: &Path) -> Result<(), KrillIoError> { in clean_file_and_path() argument
[all …]
/dports/net/krill/krill-0.9.4/src/commons/remote/
H A Dcmslogger.rs73 pub fn received(&self, msg: &Bytes) -> Result<(), KrillIoError> { in received() argument
77 pub fn reply(&self, msg: &Bytes) -> Result<(), KrillIoError> { in reply() argument
81 pub fn sent(&self, msg: &Bytes) -> Result<(), KrillIoError> { in sent() argument
85 pub fn err(&self, msg: impl fmt::Display) -> Result<(), KrillIoError> { in err() argument
89 fn save(&self, content: &[u8], ext: &str) -> Result<(), KrillIoError> { in save() argument
H A Drfc8183.rs496 pub fn save(&self, full_path: &Path) -> Result<(), KrillIoError> { in save() argument
671 pub fn save(&self, full_path: &Path) -> Result<(), KrillIoError> { in save() argument
/dports/net/krill/krill-0.9.4/src/commons/
H A Derror.rs903 pub struct KrillIoError { struct
908 impl KrillIoError { implementation
914 impl fmt::Display for KrillIoError { implementation
/dports/net/krill/krill-0.9.4/src/commons/api/
H A Drrdp.rs333 pub fn write_xml(&self, path: &Path) -> Result<(), KrillIoError> { in write_xml() argument
685 pub fn write_xml(&self, path: &Path) -> Result<(), KrillIoError> { in write_xml() argument
867 pub fn write_xml(&self, path: &Path) -> Result<(), KrillIoError> { in write_xml() argument