Struct dragonfly_client::config::dfdaemon::Config
source · pub struct Config {Show 19 fields
pub data_dir: PathBuf,
pub plugin_dir: PathBuf,
pub cache_dir: PathBuf,
pub root_dir: PathBuf,
pub lock_dir: PathBuf,
pub host: Host,
pub manager: Manager,
pub scheduler: Scheduler,
pub seed_peer: SeedPeer,
pub dynconfig: Dynconfig,
pub downloader: Downloader,
pub uploader: Uploader,
pub storage: Storage,
pub proxy: Proxy,
pub security: Security,
pub object_storage: ObjectStorage,
pub metrics: Metrics,
pub tracing: Tracing,
pub network: Network,
}
Fields§
§data_dir: PathBuf
§plugin_dir: PathBuf
§cache_dir: PathBuf
§root_dir: PathBuf
§lock_dir: PathBuf
§host: Host
§manager: Manager
§scheduler: Scheduler
§seed_peer: SeedPeer
§dynconfig: Dynconfig
§downloader: Downloader
§uploader: Uploader
§storage: Storage
§proxy: Proxy
§security: Security
§object_storage: ObjectStorage
§metrics: Metrics
§tracing: Tracing
§network: Network
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Configwhere
Config: Default,
impl<'de> Deserialize<'de> for Configwhere Config: Default,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'v_a> ValidateArgs<'v_a> for Config
impl<'v_a> ValidateArgs<'v_a> for Config
type Args = ()
fn validate_args(&self, args: Self::Args) -> Result<(), ValidationErrors>
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more