pub struct Config {
pub max_path_depth: usize,
pub max_symlink_depth: usize,
}Expand description
Configuration for path operations and security settings.
Fields§
§max_path_depth: usizeMaximum allowed depth of a path in components. Default: 256
max_symlink_depth: usizeMaximum number of symlinks to follow when resolving paths. Default: 40
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
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