Skip to main content

ContentPuts

Trait ContentPuts 

pub trait ContentPuts: Send + Sync {
    // Required method
    fn begin(
        &self,
        caller: &Caller,
        size: u64,
    ) -> Result<Box<dyn ContentPut>, ActionHostError>;
}
Expand description

A host’s door for content puts.

Required Methods§

fn begin( &self, caller: &Caller, size: u64, ) -> Result<Box<dyn ContentPut>, ActionHostError>

Open an upload of exactly size bytes into the content store of caller’s workspace.

Implementors§