Skip to main content

FromRaw

Trait FromRaw 

Source
pub trait FromRaw<'a> {
    // Required method
    fn from_raw(info: &'a AccountView) -> Self;
}

Required Methods§

Source

fn from_raw(info: &'a AccountView) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<'a, T, C> FromRaw<'a> for Signer<'a, T, C>
where T: ReadableAccount + FromRaw<'a>, C: SignerCheck,

Source§

impl<'a, T> FromRaw<'a> for Account<'a, T>
where T: Discriminator,