[−][src]Struct ethereum_rust_utils::keystore::CoreCrypto
Keyfile related crypto attributes
Fields
cipher: Cipher
Cipher
cipher_text: Vec<u8>
Cipher text
cipher_params: CipherParams
Params for Cipher
kdf_params: KdfParams
Key derivation funciton
mac: Mac
HMAC authentication code
Methods
impl CoreCrypto[src]
impl CoreCryptopub fn try_from(kf: &KeyFile) -> Result<Self, Error>[src]
pub fn try_from(kf: &KeyFile) -> Result<Self, Error>Try to create crypto attributes from corresponding Keyfile (simple or HDWallet keyfile)
Trait Implementations
impl Clone for CoreCrypto[src]
impl Clone for CoreCryptofn clone(&self) -> CoreCrypto[src]
fn clone(&self) -> CoreCryptofn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Into<KeyFile> for CoreCrypto[src]
impl Into<KeyFile> for CoreCryptoimpl Eq for CoreCrypto[src]
impl Eq for CoreCryptoimpl Default for CoreCrypto[src]
impl Default for CoreCryptoimpl PartialEq<CoreCrypto> for CoreCrypto[src]
impl PartialEq<CoreCrypto> for CoreCryptofn eq(&self, other: &CoreCrypto) -> bool[src]
fn eq(&self, other: &CoreCrypto) -> boolfn ne(&self, other: &CoreCrypto) -> bool[src]
fn ne(&self, other: &CoreCrypto) -> boolimpl Debug for CoreCrypto[src]
impl Debug for CoreCryptoimpl Serialize for CoreCrypto[src]
impl Serialize for CoreCryptoimpl<'de> Deserialize<'de> for CoreCrypto[src]
impl<'de> Deserialize<'de> for CoreCryptofn deserialize<D>(deserializer: D) -> Result<CoreCrypto, D::Error> where
D: Deserializer<'de>, [src]
fn deserialize<D>(deserializer: D) -> Result<CoreCrypto, D::Error> where
D: Deserializer<'de>, Auto Trait Implementations
impl Send for CoreCrypto
impl Send for CoreCryptoimpl Sync for CoreCrypto
impl Sync for CoreCryptoBlanket Implementations
impl<T> From for T[src]
impl<T> From for Timpl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, impl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut Timpl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeIdimpl<T> Same for T
impl<T> Same for Ttype Output = T
Should always be Self
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, impl<T> Erased for T
impl<T> Erased for Timpl<Q, K> Equivalent for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
impl<Q, K> Equivalent for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, fn equivalent(&self, key: &K) -> bool[src]
fn equivalent(&self, key: &K) -> bool