pub trait TryIntoHeight {
type Error;
// Required method
fn try_into_height(&self) -> Result<Height, Self::Error>;
}Expand description
Convenience trait for converting a type into a valid Zcash Height.
Required Associated Types§
Required Methods§
Sourcefn try_into_height(&self) -> Result<Height, Self::Error>
fn try_into_height(&self) -> Result<Height, Self::Error>
Convert self to a Height, if possible.