Skip to main content

FileClient

Trait FileClient 

Source
pub trait FileClient: Send + Sync {
    // Required methods
    fn get(&self, key: &str) -> Option<String>;
    fn set(&self, key: &str, value: String) -> bool;
    fn delete(&self, key: &str) -> bool;
}
Expand description

File client. map drives field extraction from file contents.

Required Methods§

Source

fn get(&self, key: &str) -> Option<String>

Source

fn set(&self, key: &str, value: String) -> bool

Source

fn delete(&self, key: &str) -> bool

Implementors§