[][src]Struct body_image_futio::PermitBodySink

#[must_use = "sinks do nothing unless polled"]
pub struct PermitBodySink<B> where
    B: InputBuf
{ /* fields omitted */ }

Extends AsyncBodySink by acquiring a blocking permit before performing any blocking file write operations.

The total number of concurrent blocking operations is constrained by the Semaphore referenced in BlockingPolicy::Permit from FutioTunables::blocking_policy, which is required.

Trait Implementations

impl<B: Debug> Debug for PermitBodySink<B> where
    B: InputBuf
[src]

impl<B> Sink<B> for PermitBodySink<B> where
    B: InputBuf
[src]

type Error = FutioError

The type of value produced by the sink when an error occurs.

impl<B> SinkWrapper<B> for PermitBodySink<B> where
    B: InputBuf
[src]

Auto Trait Implementations

impl<B> !RefUnwindSafe for PermitBodySink<B>

impl<B> Send for PermitBodySink<B>

impl<B> Sync for PermitBodySink<B>

impl<B> Unpin for PermitBodySink<B>

impl<B> !UnwindSafe for PermitBodySink<B>

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, Item> SinkExt<Item> for T where
    T: Sink<Item> + ?Sized
[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>,