Struct hyper_fs::Config
[−]
[src]
pub struct Config { /* fields omitted */ }public config for file/index/fs
Methods
impl Config[src]
impl Config[src]
fn follow_links(self, follow_links: bool) -> Self[src]
fn show_index(self, show_index: bool) -> Self[src]
fn hide_entry(self, hide_entry: bool) -> Self[src]
fn cache_secs(self, cache_secs: u32) -> Self[src]
fn chunk_size(self, chunk_size: usize) -> Self[src]
impl Config[src]
fn get_follow_links(&self) -> bool[src]
fn get_show_index(&self) -> bool[src]
fn get_hide_entry(&self) -> bool[src]
fn get_cache_secs(&self) -> &u32[src]
fn get_chunk_size(&self) -> &usize[src]
impl Config[src]
fn set_follow_links(&mut self, follow_links: bool)[src]
fn set_show_index(&mut self, show_index: bool)[src]
fn set_hide_entry(&mut self, hide_entry: bool)[src]
fn set_cache_secs(&mut self, cache_secs: u32)[src]
fn set_chunk_size(&mut self, chunk_size: usize)[src]
Trait Implementations
impl Debug for Config[src]
impl Clone for Config[src]
fn clone(&self) -> Config[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more