Struct observation_tools_client::Client
source · pub struct Client { /* private fields */ }
Implementations§
source§impl Client
impl Client
pub fn new_wasm( ui_host: Option<String>, api_host: Option<String>, project_id: String ) -> Result<Client, JsValue>
pub async fn shutdown(self) -> Result<(), ClientError>
pub fn create_run_js( &self, metadata: &UserMetadataBuilder ) -> Result<RunUploaderTaskHandle, ClientError>
source§impl Client
impl Client
pub fn new( project_id: String, options: ClientOptions ) -> Result<Self, ClientError>
pub fn create_run<M: Into<UserMetadataBuilder>>( &self, into_metadata: M ) -> Result<RunUploaderTaskHandle, ClientError>
Trait Implementations§
source§impl FromWasmAbi for Client
impl FromWasmAbi for Client
source§impl IntoWasmAbi for Client
impl IntoWasmAbi for Client
source§impl LongRefFromWasmAbi for Client
impl LongRefFromWasmAbi for Client
source§impl OptionFromWasmAbi for Client
impl OptionFromWasmAbi for Client
source§impl OptionIntoWasmAbi for Client
impl OptionIntoWasmAbi for Client
source§impl RefFromWasmAbi for Client
impl RefFromWasmAbi for Client
source§impl RefMutFromWasmAbi for Client
impl RefMutFromWasmAbi for Client
source§impl TryFromJsValue for Client
impl TryFromJsValue for Client
source§impl VectorFromWasmAbi for Client
impl VectorFromWasmAbi for Client
source§impl VectorIntoWasmAbi for Client
impl VectorIntoWasmAbi for Client
Auto Trait Implementations§
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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> 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>
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.