[][src]Struct seed::browser::service::fetch::RequestController

pub struct RequestController { /* fields omitted */ }

It allows to abort request or disable request's timeout. You can get it by calling method Request.controller.

Methods

impl RequestController[src]

pub fn abort(&self)[src]

Abort request and disable request's timeout.

MDN reference

pub fn disable_timeout(&self) -> Result<(), &'static str>[src]

Disable request's timeout.

Errors

Will return error if timeout is already disabled.

Trait Implementations

impl Clone for RequestController[src]

impl Debug for RequestController[src]

impl Default for RequestController[src]

Auto Trait Implementations

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> 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 = 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.