pub struct ReadWriteAccountSet { /* private fields */ }Expand description
Wrapper struct to check account locks for a batch of transactions.
Implementations§
source§impl ReadWriteAccountSet
impl ReadWriteAccountSet
sourcepub fn check_static_account_locks(&self, message: &VersionedMessage) -> bool
pub fn check_static_account_locks(&self, message: &VersionedMessage) -> bool
Check static account locks for a transaction message.
sourcepub fn try_locking(&mut self, message: &SanitizedMessage) -> bool
pub fn try_locking(&mut self, message: &SanitizedMessage) -> bool
Check all account locks and if they are available, lock them. Returns true if all account locks are available and false otherwise.
Trait Implementations§
source§impl Debug for ReadWriteAccountSet
impl Debug for ReadWriteAccountSet
source§impl Default for ReadWriteAccountSet
impl Default for ReadWriteAccountSet
source§fn default() -> ReadWriteAccountSet
fn default() -> ReadWriteAccountSet
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ReadWriteAccountSet
impl Send for ReadWriteAccountSet
impl Sync for ReadWriteAccountSet
impl Unpin for ReadWriteAccountSet
impl UnwindSafe for ReadWriteAccountSet
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Requestsource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request