pub struct Output { /* private fields */ }Implementations§
Source§impl Output
impl Output
pub fn new(color: bool, language: Language) -> Self
pub fn with_json_mode(self) -> Self
pub fn startup(&self, options: &ResolvedOptions)
pub fn found_directory( &self, count: usize, remote_path: &str, worker_threads: usize, )
pub fn created_directory(&self, path: &Path)
pub fn downloading(&self, path: &str)
pub fn warning(&self, message: &str)
pub fn success(&self, message: &str)
pub fn skipping_existing(&self, path: &str)
pub fn completion( &self, repo: &str, remote_path: &str, saved_path: &Path, files_downloaded: usize, skipped_existing_files: usize, skipped_entries: usize, )
pub fn print_user_error(&self, error: &UserFacingError)
pub fn debug_line(&self, message: &str)
pub fn print_json_success(&self, saved_path: &Path, stats: &DownloadStats)
pub fn print_json_error(&self, error: &UserFacingError)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnsafeUnpin for Output
impl UnwindSafe for Output
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