pub trait Filer {
const HEAD_DIR_PATH: &'static str = "/usr/local/var";
const TAIL_DIR_PATH: &'static str = "keri";
const CLEAN_TAIL_DIR_PATH: &'static str = "keri/clean";
const ALT_TAIL_DIR_PATH: &'static str = ".keri";
const ALT_CLEAN_TAIL_DIR_PATH: &'static str = ".keri/clean";
const TEMP_PREFIX: &'static str = "keri_";
const TEMP_HEAD_DIR: &'static str = "/tmp";
const PERM: u32 = 0o1700;
const MODE: &'static str = "r+";
const FEXT: &'static str = "text";
// Provided method
fn defaults() -> FilerDefaults { ... }
}Provided Associated Constants§
Sourceconst HEAD_DIR_PATH: &'static str = "/usr/local/var"
const HEAD_DIR_PATH: &'static str = "/usr/local/var"
Default absolute directory path head such as “/usr/local/var”
Sourceconst TAIL_DIR_PATH: &'static str = "keri"
const TAIL_DIR_PATH: &'static str = "keri"
Default relative directory path tail when using head
Sourceconst CLEAN_TAIL_DIR_PATH: &'static str = "keri/clean"
const CLEAN_TAIL_DIR_PATH: &'static str = "keri/clean"
Default relative directory path tail when creating clean
Sourceconst ALT_TAIL_DIR_PATH: &'static str = ".keri"
const ALT_TAIL_DIR_PATH: &'static str = ".keri"
Default alternative relative directory path tail as fallback
Sourceconst ALT_CLEAN_TAIL_DIR_PATH: &'static str = ".keri/clean"
const ALT_CLEAN_TAIL_DIR_PATH: &'static str = ".keri/clean"
Default alternative relative path tail when creating clean
Sourceconst TEMP_PREFIX: &'static str = "keri_"
const TEMP_PREFIX: &'static str = "keri_"
Default relative directory path prefix when using temp head
Sourceconst TEMP_HEAD_DIR: &'static str = "/tmp"
const TEMP_HEAD_DIR: &'static str = "/tmp"
Default relative directory path prefix when using temp head
Provided Methods§
fn defaults() -> FilerDefaults
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".