pub struct StaticRecentBlockhashProvider { /* private fields */ }Expand description
In-memory blockhash provider for tests and static configurations.
Implementations§
Trait Implementations§
Source§impl Clone for StaticRecentBlockhashProvider
impl Clone for StaticRecentBlockhashProvider
Source§fn clone(&self) -> StaticRecentBlockhashProvider
fn clone(&self) -> StaticRecentBlockhashProvider
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StaticRecentBlockhashProvider
impl RefUnwindSafe for StaticRecentBlockhashProvider
impl Send for StaticRecentBlockhashProvider
impl Sync for StaticRecentBlockhashProvider
impl Unpin for StaticRecentBlockhashProvider
impl UnsafeUnpin for StaticRecentBlockhashProvider
impl UnwindSafe for StaticRecentBlockhashProvider
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