fn from_str(s: &str) -> Result<Self, Self::Err> {
        let mut seed = Self::default();
        if HEXLOWER_PERMISSIVE.decode_len(s.len())? != seed.0.len() {
            return Err(DecodeError {
                position: s.len(),
                kind: DecodeKind::Length,
            });
        }
        match HEXLOWER_PERMISSIVE.decode_mut(s.as_bytes(), &mut seed.0) {
            Ok(_) => Ok(seed),
            Err(e) => Err(e.error),
        }
    }
/// Parses a 64-digit hex string into an RNG seed.
Parses a 64-digit hex string into an RNG seed.
Parses a 64 - digit hex string into an RNG seed .
fn from_str(s: &str) -> Result<Self, Self::Err> {
        let mut seed = Self::default();
        if HEXLOWER_PERMISSIVE.decode_len(s.len())? != seed.0.len() {
            return Err(DecodeError {
                position: s.len(),
                kind: DecodeKind::Length,
            });
        }
        match HEXLOWER_PERMISSIVE.decode_mut(s.as_bytes(), &mut seed.0) {
            Ok(_) => Ok(seed),
            Err(e) => Err(e.error),
        }
    }
fn from_str ( s : & str ) -> Result < Self , Self :: Err > { let mut seed = Self :: default ( ) ; if HEXLOWER_PERMISSIVE . decode_len ( s . len ( ) ) ? != seed . 0 . len ( ) { return Err ( DecodeError { position : s . len ( ) , kind : DecodeKind :: Length , } ) ; } match HEXLOWER_PERMISSIVE . decode_mut ( s . as_bytes ( ) , & mut seed . 0 ) { Ok ( _ ) => Ok ( seed ) , Err ( e ) => Err ( e . error ) , } }
Parses a 64-digit hex string into an RNG seed.
Parses a 64 - digit hex string into an RNG seed .
s
&str
s
&str