[−][src]Trait sp_core::crypto::UncheckedFrom
Similar to From
, except that the onus is on the part of the caller to ensure
that data passed in makes sense. Basically, you're not guaranteed to get anything
sensible out.
Required methods
fn unchecked_from(t: T) -> Self
Convert from an instance of T
to Self. This is not guaranteed to be
whatever counts as a valid instance of T
and it's up to the caller to
ensure that it makes sense.
Implementors
impl UncheckedFrom<[u8; 32]> for sp_core::ed25519::Public
[src]
fn unchecked_from(x: [u8; 32]) -> Self
[src]
impl UncheckedFrom<[u8; 32]> for sp_core::sr25519::Public
[src]
fn unchecked_from(x: [u8; 32]) -> Self
[src]
impl UncheckedFrom<[u8; 33]> for sp_core::ecdsa::Public
[src]
fn unchecked_from(x: [u8; 33]) -> Self
[src]
impl UncheckedFrom<H256> for AccountId32
[src]
fn unchecked_from(h: H256) -> Self
[src]
impl UncheckedFrom<H256> for sp_core::ed25519::Public
[src]
fn unchecked_from(x: H256) -> Self
[src]
impl UncheckedFrom<H256> for sp_core::sr25519::Public
[src]
fn unchecked_from(x: H256) -> Self
[src]
impl<Inner, Outer, T> UncheckedFrom<T> for Outer where
Outer: Wraps<Inner = Inner>,
Inner: IsWrappedBy<Outer> + UncheckedFrom<T>,
[src]
Outer: Wraps<Inner = Inner>,
Inner: IsWrappedBy<Outer> + UncheckedFrom<T>,