[−][src]Struct async_aria2::http::Http
Methods
impl Http[src]
pub fn new(token: &str) -> Self[src]
pub async fn call_method<'_, '_>(
&'_ self,
method: &'_ str,
params: Params
) -> JsonResult[src]
&'_ self,
method: &'_ str,
params: Params
) -> JsonResult
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]
T: 'static + ?Sized,
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> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,