[go: up one dir, main page]

[][src]Struct cacache::put::SyncPut

pub struct SyncPut { /* fields omitted */ }

A reference to an open file writing to the cache.

Methods

impl SyncPut[src]

pub fn commit(self) -> Result<Integrity, Error>[src]

Closes the Put 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 Write for SyncPut[src]

Auto Trait Implementations

impl Send for SyncPut

impl Sync for SyncPut

impl Unpin for SyncPut

impl UnwindSafe for SyncPut

impl RefUnwindSafe for SyncPut

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<W> WriteBytesExt for W where
    W: Write + ?Sized

impl<T> Same<T> for T

type Output = T

Should always be Self

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