[go: up one dir, main page]

[][src]Struct cacache::put::AsyncPut

pub struct AsyncPut { /* fields omitted */ }

A reference to an open file writing to the cache.

Methods

impl AsyncPut[src]

pub async fn commit(__arg0: Self) -> Result<Integrity, Error>[src]

Closes the AsyncPut handle and writes content and index entries. Also verifies data against size and integrity options, if provided. Must be called manually in order to complete the writing process, otherwise everything will be thrown out.

Trait Implementations

impl AsyncWrite for AsyncPut[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> WriteExt for T where
    T: AsyncWrite + ?Sized
[src]

impl<W> AsyncWriteExt for W where
    W: AsyncWrite + ?Sized
[src]

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