[−][src]Struct xio_webclient::Client
Methods
impl Client
[src]
pub fn new(url: &str) -> Self
[src]
pub fn url(&self) -> &str
[src]
pub fn description_api(&self) -> Result<ApiDescription>
[src]
pub fn description_controllers(
&self
) -> Result<IndexMap<String, HardwareBoardDescription>>
[src]
&self
) -> Result<IndexMap<String, HardwareBoardDescription>>
pub fn description_modules(&self) -> Result<IndexMap<String, Module>>
[src]
pub fn controllers(&self) -> Result<IndexMap<Uuid, ControllerStatus>>
[src]
pub fn controllers_events(&self) -> Result<Receiver<DeviceEvent>>
[src]
pub fn controller_events(
&self,
uuid: &Uuid
) -> Result<Receiver<ControllerEvent>>
[src]
&self,
uuid: &Uuid
) -> Result<Receiver<ControllerEvent>>
pub fn joblog_events(&self, uuid: &Uuid) -> Result<Receiver<JobEvent>>
[src]
pub fn controller(&self, uuid: &Uuid) -> Result<ControllerStatus>
[src]
pub fn clear_job_set(&self, uuid: &Uuid) -> Result<()>
[src]
pub fn post_job_set(&self, uuid: &Uuid, jobset: &JobSet) -> Result<()>
[src]
pub fn post_job_control(
&self,
uuid: &Uuid,
message: &JobControlAction
) -> Result<JobControlAction>
[src]
&self,
uuid: &Uuid,
message: &JobControlAction
) -> Result<JobControlAction>
pub fn post_module_statecontrol(
&self,
uuid: &Uuid,
module_id: &str,
message: &ModuleAction
) -> Result<ModuleAction>
[src]
&self,
uuid: &Uuid,
module_id: &str,
message: &ModuleAction
) -> Result<ModuleAction>
pub fn post_flash_firmware(&self, uuid: &Uuid) -> Result<()>
[src]
Trait Implementations
Auto Trait Implementations
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnwindSafe for Client
impl RefUnwindSafe for Client
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self