Macro filecoin_proofs::with_shape
source · [−]macro_rules! with_shape {
($size:expr, $f:ident) => { ... };
($size:expr, $f:ident, $($args:expr,)*) => { ... };
($size:expr, $f:ident, $($args:expr),*) => { ... };
}
Expand description
Calls a function with the type hint of the sector shape matching the provided sector. Panics if provided with an unknown sector size.