[][src]Struct xio_webclient::Client

pub struct Client { /* fields omitted */ }

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]

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]

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]

pub fn post_module_statecontrol(
    &self,
    uuid: &Uuid,
    module_id: &str,
    message: &ModuleAction
) -> Result<ModuleAction>
[src]

pub fn post_flash_firmware(&self, uuid: &Uuid) -> Result<()>[src]

Trait Implementations

impl Clone for Client[src]

impl Debug for Client[src]

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]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<T> Same<T> for T

type Output = T

Should always be Self