fn from_seed_slice(seed_slice: &[u8]) -> Result<Pair, SecretStringError> {
		if seed_slice.len() != 32 {
			Err(SecretStringError::InvalidSeedLength)
		} else {
			let mut seed = [0u8; 32];
			seed.copy_from_slice(&seed_slice);
			Ok(Self::from_seed(seed))
		}
	}
/// Make a new key pair from secret seed material. The slice must be 32 bytes long or it
/// will return `None`.
///
/// You should never need to use this; generate(), generate_with_phrase
Make a new key pair from secret seed material. The slice must be 32 bytes long or it
will return `None`.

You should never need to use this; generate(), generate_with_phrase
Make a new key pair from secret seed material . The slice must be 32 bytes long or it will return ` None ` . You should never need to use this ; generate () generate_with_phrase
fn from_seed_slice(seed_slice: &[u8]) -> Result<Pair, SecretStringError> {
		if seed_slice.len() != 32 {
			Err(SecretStringError::InvalidSeedLength)
		} else {
			let mut seed = [0u8; 32];
			seed.copy_from_slice(&seed_slice);
			Ok(Self::from_seed(seed))
		}
	}
fn from_seed_slice ( seed_slice : & [ u8 ] ) -> Result < Pair , SecretStringError > { if seed_slice . len ( ) != 32 { Err ( SecretStringError :: InvalidSeedLength ) } else { let mut seed = [ 0u8 ; 32 ] ; seed . copy_from_slice ( & seed_slice ) ; Ok ( Self :: from_seed ( seed ) ) } }
Make a new key pair from secret seed material.
Make a new key pair from secret seed material .
seed_slice
&[u8]
seed_slice
&[u8]