pub fn increment(self) -> Result<ChildNumber, Error> {
        match self {
            ChildNumber::Normal{ index: idx } => ChildNumber::from_normal_idx(idx+1),
            ChildNumber::Hardened{ index: idx } => ChildNumber::from_hardened_idx(idx+1),
        }
    }
/// Returns the child number that is a single increment from this one.
Returns the child number that is a single increment from this one.
Returns the child number that is a single increment from this one .
pub fn increment(self) -> Result<ChildNumber, Error> {
        match self {
            ChildNumber::Normal{ index: idx } => ChildNumber::from_normal_idx(idx+1),
            ChildNumber::Hardened{ index: idx } => ChildNumber::from_hardened_idx(idx+1),
        }
    }
pub fn increment ( self ) -> Result < ChildNumber , Error > { match self { ChildNumber :: Normal { index : idx } => ChildNumber :: from_normal_idx ( idx + 1 ) , ChildNumber :: Hardened { index : idx } => ChildNumber :: from_hardened_idx ( idx + 1 ) , } }
Returns the child number that is a single increment from this one.
Returns the child number that is a single increment from this one .
self
self