pub struct Config { /* private fields */ }
Implementations§
Source§impl Config
impl Config
pub fn new( no_prompt: bool, verbose: u8, quiet: bool, print_paths: bool, timeout_ms: Option<u64>, curl: bool, ) -> Self
pub fn prompt_missing_env_vars(&self) -> bool
pub fn verbosity(&self) -> u8
pub fn print_file_paths(&self) -> bool
pub fn timeout(&self) -> Option<Duration>
pub fn curl(&self) -> bool
pub fn log<S: Display>(&self, level: u8, message: S)
pub fn logln<S: Display>(&self, level: u8, message: S)
Trait Implementations§
impl Copy for Config
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