ic-asset 0.29.0

Library for storing files in an asset canister.
Documentation
1
2
3
4
5
6
7
8
9
use thiserror::Error;

/// Errors encountered while setting the encodings.
#[derive(Error, Debug)]
pub enum SetEncodingError {
    /// Failed when attempting to translate an uploader chunk id to a canister chunk id because the id is unknown.
    #[error("Unknown uploader chunk id: {0}")]
    UnknownUploaderChunkId(usize),
}