Enum filecoin_proofs_api::RegisteredSealProof[][src]

pub enum RegisteredSealProof {
    StackedDrg2KiBV1,
    StackedDrg8MiBV1,
    StackedDrg512MiBV1,
    StackedDrg32GiBV1,
    StackedDrg64GiBV1,
    StackedDrg2KiBV1_1,
    StackedDrg8MiBV1_1,
    StackedDrg512MiBV1_1,
    StackedDrg32GiBV1_1,
    StackedDrg64GiBV1_1,
}

Available seal proofs. Enum is append-only: once published, a RegisteredSealProof value must never change.

Variants

StackedDrg2KiBV1
StackedDrg8MiBV1
StackedDrg512MiBV1
StackedDrg32GiBV1
StackedDrg64GiBV1
StackedDrg2KiBV1_1
StackedDrg8MiBV1_1
StackedDrg512MiBV1_1
StackedDrg32GiBV1_1
StackedDrg64GiBV1_1

Implementations

impl RegisteredSealProof[src]

pub fn version(self) -> ApiVersion[src]

Return the version for this proof.

pub fn major_version(self) -> u64[src]

Return the major version for this proof.

pub fn minor_version(self) -> u64[src]

Return the minor version for this proof.

pub fn patch_version(self) -> u64[src]

Return the patch version for this proof.

pub fn sector_size(self) -> SectorSize[src]

Return the sector size for this proof.

pub fn partitions(self) -> u8[src]

Return the number of partitions for this proof.

pub fn single_partition_proof_len(self) -> usize[src]

pub fn as_v1_config(self) -> PoRepConfig[src]

pub fn circuit_identifier(self) -> Result<String>[src]

Returns the circuit identifier.

pub fn cache_verifying_key_path(self) -> Result<PathBuf>[src]

pub fn cache_params_path(self) -> Result<PathBuf>[src]

pub fn verifying_key_cid(self) -> Result<String>[src]

pub fn params_cid(self) -> Result<String>[src]

pub fn into_winning_post(self) -> RegisteredPoStProof[src]

pub fn into_window_post(self) -> RegisteredPoStProof[src]

Trait Implementations

impl Clone for RegisteredSealProof[src]

impl Copy for RegisteredSealProof[src]

impl Debug for RegisteredSealProof[src]

impl<'de> Deserialize<'de> for RegisteredSealProof[src]

impl Eq for RegisteredSealProof[src]

impl Hash for RegisteredSealProof[src]

impl PartialEq<RegisteredSealProof> for RegisteredSealProof[src]

impl Serialize for RegisteredSealProof[src]

impl StructuralEq for RegisteredSealProof[src]

impl StructuralPartialEq for RegisteredSealProof[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,