[][src]Struct rebuilderd_common::api::Client

pub struct Client { /* fields omitted */ }

Methods

impl Client[src]

pub fn new(endpoint: String) -> Client[src]

pub fn worker_key<I: Into<String>>(&mut self, key: I)[src]

pub fn signup_secret<I: Into<String>>(&mut self, secret: I)[src]

pub fn get(&self, path: &'static str) -> RequestBuilder[src]

pub fn post(&self, path: &'static str) -> RequestBuilder[src]

pub fn list_workers(&self) -> Result<Vec<Worker>>[src]

pub fn sync_suite(&self, import: &SuiteImport) -> Result<()>[src]

pub fn list_pkgs(&self, list: &ListPkgs) -> Result<Vec<PkgRelease>>[src]

pub fn list_queue(&self, list: &ListQueue) -> Result<QueueList>[src]

pub fn push_queue(&self, push: &PushQueue) -> Result<()>[src]

pub fn pop_queue(&self, query: &WorkQuery) -> Result<JobAssignment>[src]

pub fn drop_queue(&self, query: &DropQueueItem) -> Result<()>[src]

pub fn ping_build(&self, ticket: &QueueItem) -> Result<()>[src]

pub fn report_build(&self, ticket: &BuildReport) -> Result<()>[src]

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

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

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.