[][src]Struct aio_limited::Limited

pub struct Limited<T> { /* fields omitted */ }

A rate-limited resource.

Methods

impl<T> Limited<T>[src]

pub fn new(io: T, lim: Limiter) -> Result<Limited<T>, Error>[src]

Trait Implementations

impl<T: Clone> Clone for Limited<T>[src]

impl<T> Drop for Limited<T>[src]

impl<T: Debug> Debug for Limited<T>[src]

impl<T: AsyncRead> Read for Limited<T>[src]

impl<T: Write> Write for Limited<T>[src]

impl<T: AsyncRead> AsyncRead for Limited<T>[src]

impl<T: AsyncWrite> AsyncWrite for Limited<T>[src]

Auto Trait Implementations

impl<T> Send for Limited<T> where
    T: Send

impl<T> Sync for Limited<T> where
    T: Sync

impl<T> Unpin for Limited<T> where
    T: Unpin

impl<T> !RefUnwindSafe for Limited<T>

impl<T> !UnwindSafe for Limited<T>

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 = 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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<R> ReadBytesExt for R where
    R: Read + ?Sized

impl<W> WriteBytesExt for W where
    W: Write + ?Sized