Function rust_ipfs::unixfs::add

source ·
pub async fn add<'a, Types, MaybeOwned>(
    ipfs: MaybeOwned,
    total_size: Option<usize>,
    stream: BoxStream<'a, Vec<u8>>,
    opt: Option<AddOption>
) -> Result<BoxStream<'a, UnixfsStatus>>where
    Types: IpfsTypes,
    MaybeOwned: Borrow<Ipfs<Types>> + Send + 'a,