[go: up one dir, main page]

[][src]Struct cacache::put::Put

pub struct Put { /* fields omitted */ }

A reference to an open file writing to the cache.

Methods

impl Put[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 Put[src]

Auto Trait Implementations

impl Send for Put

impl Sync for Put

impl Unpin for Put

impl UnwindSafe for Put

impl RefUnwindSafe for Put

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>,