Trait kitsune_p2p_types::CertDigestExt
source · [−]pub trait CertDigestExt {
fn from_slice(slice: &[u8]) -> Self;
}
Expand description
Extension trait for working with CertDigests.
Required Methods
sourcefn from_slice(slice: &[u8]) -> Self
fn from_slice(slice: &[u8]) -> Self
Construct from a slice. Panicks if slice.len() != 32
.