pub struct NsgClient { /* private fields */ }Implementations§
Source§impl NsgClient
impl NsgClient
pub fn new(credentials: Credentials) -> Result<Self>
pub fn new_with_url(credentials: Credentials, base_url: String) -> Result<Self>
pub fn test_connection(&self) -> Result<()>
pub fn list_jobs(&self) -> Result<Vec<JobSummary>>
pub fn get_job_status(&self, job_url_or_id: &str) -> Result<JobStatus>
pub fn submit_job(&self, zip_path: &Path, tool: &str) -> Result<JobStatus>
pub fn download_results( &self, job_url_or_id: &str, output_dir: &Path, ) -> Result<Vec<DownloadedFile>>
Auto Trait Implementations§
impl Freeze for NsgClient
impl !RefUnwindSafe for NsgClient
impl Send for NsgClient
impl Sync for NsgClient
impl Unpin for NsgClient
impl !UnwindSafe for NsgClient
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