pub struct RemoteRuns { /* private fields */ }Implementations§
Source§impl RemoteRuns
impl RemoteRuns
pub fn connect(url: &str) -> Result<Self>
pub fn connected(&self) -> bool
pub fn status_label(&self) -> &'static str
pub fn error(&self) -> Option<String>
pub fn summaries(&self) -> Vec<Value>
pub fn watch(&mut self, run_id: &str)
pub fn request_page(&self, run_id: &str, kind: PageKind, cursor: u64)
pub fn request_artifact(&self, run_id: &str, path: &str)
pub fn artifact_content( &self, run_id: &str, path: &str, ) -> Option<Result<String, String>>
pub fn artifact_snapshot( &self, run_id: &str, ) -> HashMap<String, Result<String, String>>
pub fn view(&mut self, run_id: &str) -> Option<&RemoteView>
Trait Implementations§
Source§impl Drop for RemoteRuns
impl Drop for RemoteRuns
Auto Trait Implementations§
impl !RefUnwindSafe for RemoteRuns
impl !UnwindSafe for RemoteRuns
impl Freeze for RemoteRuns
impl Send for RemoteRuns
impl Sync for RemoteRuns
impl Unpin for RemoteRuns
impl UnsafeUnpin for RemoteRuns
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
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