[][src]Struct async_aria2::http::Http

pub struct Http { /* fields omitted */ }

Methods

impl Http[src]

pub fn new(token: &str) -> Self[src]

pub async fn call_method<'_, '_>(
    &'_ self,
    method: &'_ str,
    params: Params
) -> JsonResult
[src]

pub async fn change_global_option<'_>(&'_ self, params: Params)[src]

pub async fn add_uri<'_, '_>(&'_ self, uri: &'_ str) -> String[src]

pub async fn add_torrent<'_>(&'_ self, torrent: String) -> String[src]

pub async fn tell_status<'_, '_>(&'_ self, gid: &'_ str) -> Status[src]

pub async fn tell_active<'_>(&'_ self) -> Vec<Status>[src]

pub async fn tell_waiting<'_>(&'_ self) -> Vec<Status>[src]

pub async fn tell_stopped<'_>(&'_ self) -> Vec<Status>[src]

pub async fn pause<'_, '_>(&'_ self, gid: &'_ str)[src]

pub async fn unpause<'_, '_>(&'_ self, gid: &'_ str)[src]

pub async fn pause_all<'_>(&'_ self)[src]

pub async fn unpause_all<'_>(&'_ self)[src]

pub async fn remove<'_, '_>(&'_ self, gid: &'_ str)[src]

pub async fn get_global_stat<'_>(&'_ self) -> Statistics[src]

pub async fn shutdown<'_>(&'_ self)[src]

Auto Trait Implementations

impl !RefUnwindSafe for Http

impl Send for Http

impl Sync for Http

impl Unpin for Http

impl !UnwindSafe for Http

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,