pub trait ReadableAccount: Sized {
// Required methods
fn lamports(&self) -> u64;
fn data(&self) -> &[u8] ⓘ;
fn owner(&self) -> &Address;
fn executable(&self) -> bool;
fn rent_epoch(&self) -> u64;
}Required Methods§
fn lamports(&self) -> u64
fn data(&self) -> &[u8] ⓘ
fn owner(&self) -> &Address
fn executable(&self) -> bool
fn rent_epoch(&self) -> u64
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl ReadableAccount for TransactionAccountView<'_>
Available on neither target_arch=sbf nor BPF.
impl ReadableAccount for TransactionAccountView<'_>
Available on neither
target_arch=sbf nor BPF.Source§impl ReadableAccount for TransactionAccountViewMut<'_>
Available on neither target_arch=sbf nor BPF.
impl ReadableAccount for TransactionAccountViewMut<'_>
Available on neither
target_arch=sbf nor BPF.