Enum filecoin_proofs_api::StorageProofsError [−][src]
pub enum StorageProofsError {}Show variants
BadPieceCommitment, OutOfBounds(usize, usize), InvalidMerkleTreeArgs(usize, usize, usize), Synthesis(SynthesisError), Io(Error), InvalidCommitment, MalformedInput, MalformedMerkleTree, InvalidInputSize, MerkleTreeGenerationError(String), UnalignedPiece, Serde(Error), Unclassified(String), MissingPrivateInput(&'static str, u64), FaultySectors(Vec<SectorId, Global>), InvalidParameters(String),
Expand description
Custom error types
Variants
Synthesis(SynthesisError)
Io(Error)
MerkleTreeGenerationError(String)
Serde(Error)
Unclassified(String)
InvalidParameters(String)
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
pub fn as_fail(&self) -> &(dyn Fail + 'static)
pub fn as_fail(&self) -> &(dyn Fail + 'static)
Converts a reference to Self
into a dynamic trait object of Fail
.
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V