[][src]Enum fil_types::sector::RegisteredPoStProof

pub enum RegisteredPoStProof {
    StackedDRGWinning2KiBV1,
    StackedDRGWinning8MiBV1,
    StackedDRGWinning512MiBV1,
    StackedDRGWinning32GiBV1,
    StackedDRGWinning64GiBV1,
    StackedDRGWindow2KiBV1,
    StackedDRGWindow8MiBV1,
    StackedDRGWindow512MiBV1,
    StackedDRGWindow32GiBV1,
    StackedDRGWindow64GiBV1,
    Invalid(i64),
}

Variants

StackedDRGWinning2KiBV1
StackedDRGWinning8MiBV1
StackedDRGWinning512MiBV1
StackedDRGWinning32GiBV1
StackedDRGWinning64GiBV1
StackedDRGWindow2KiBV1
StackedDRGWindow8MiBV1
StackedDRGWindow512MiBV1
StackedDRGWindow32GiBV1
StackedDRGWindow64GiBV1
Invalid(i64)

Implementations

impl RegisteredPoStProof[src]

pub fn sector_size(self) -> Result<SectorSize, String>[src]

Returns the sector size of the proof type, which is measured in bytes.

pub fn registered_seal_proof(self) -> Result<RegisteredSealProof, String>[src]

RegisteredSealProof produces the seal-specific RegisteredProof corresponding to the receiving RegisteredProof.

Trait Implementations

impl Clone for RegisteredPoStProof[src]

impl Copy for RegisteredPoStProof[src]

impl Debug for RegisteredPoStProof[src]

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

impl Eq for RegisteredPoStProof[src]

impl From<RegisteredPoStProof> for i64[src]

impl From<i64> for RegisteredPoStProof[src]

impl Hash for RegisteredPoStProof[src]

impl PartialEq<RegisteredPoStProof> for RegisteredPoStProof[src]

impl Serialize for RegisteredPoStProof[src]

impl StructuralEq for RegisteredPoStProof[src]

impl StructuralPartialEq for RegisteredPoStProof[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> 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.