[−][src]Struct solana_runtime::message_processor::PreAccount
Fields
is_writable: bool
lamports: u64
data_len: usize
data: Option<Vec<u8>>
owner: Pubkey
executable: bool
rent_epoch: Epoch
Implementations
impl PreAccount
[src]
pub fn new(account: &Account, is_writable: bool, program_id: &Pubkey) -> Self
[src]
pub fn verify(
&self,
program_id: &Pubkey,
rent_collector: &RentCollector,
post: &Account
) -> Result<(), InstructionError>
[src]
&self,
program_id: &Pubkey,
rent_collector: &RentCollector,
post: &Account
) -> Result<(), InstructionError>
pub fn is_zeroed(buf: &[u8]) -> bool
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PreAccount
impl Send for PreAccount
impl Sync for PreAccount
impl Unpin for PreAccount
impl UnwindSafe for PreAccount
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,