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<F>( &self, job_url_or_id: &str, output_dir: &Path, progress_callback: F, ) -> Result<Vec<DownloadedFile>>
Auto Trait Implementations§
impl !RefUnwindSafe for NsgClient
impl !UnwindSafe for NsgClient
impl Freeze for NsgClient
impl Send for NsgClient
impl Sync for NsgClient
impl Unpin for NsgClient
impl UnsafeUnpin 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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more