pub struct Read<T> {
pub at: Address,
pub data: Vec<u8>,
/* private fields */
}Expand description
A typed read: where the call goes, its calldata, and how its answer reads.
Fields§
§at: AddressThe precompile’s address, 0x...0800 through 0x...0814.
data: Vec<u8>The calldata: the ABI-encoded arguments with no selector.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Forget for Read<T>
impl<T> Freeze for Read<T>
impl<T> Move for Read<T>
impl<T> RefUnwindSafe for Read<T>
impl<T> Send for Read<T>
impl<T> Sync for Read<T>
impl<T> Unpin for Read<T>
impl<T> UnsafeUnpin for Read<T>
impl<T> UnwindSafe for Read<T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more