pub struct QueryAccountHandle(/* private fields */);Expand description
Boundary-owned wrapper that lets QueryAccountCommand cross the cdylib
FFI boundary by reference.
Implementations§
Source§impl QueryAccountHandle
impl QueryAccountHandle
Sourcepub fn new(command: QueryAccountCommand) -> Self
pub fn new(command: QueryAccountCommand) -> Self
Wraps command in a boundary-owned handle.
Sourcepub fn command(&self) -> &QueryAccountCommand
pub fn command(&self) -> &QueryAccountCommand
Returns a reference to the wrapped command.
Sourcepub fn into_inner(self) -> QueryAccountCommand
pub fn into_inner(self) -> QueryAccountCommand
Consumes the wrapper and returns the inner command.
Trait Implementations§
Source§impl Clone for QueryAccountHandle
impl Clone for QueryAccountHandle
Source§fn clone(&self) -> QueryAccountHandle
fn clone(&self) -> QueryAccountHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for QueryAccountHandle
impl Debug for QueryAccountHandle
Auto Trait Implementations§
impl Freeze for QueryAccountHandle
impl RefUnwindSafe for QueryAccountHandle
impl Send for QueryAccountHandle
impl Sync for QueryAccountHandle
impl Unpin for QueryAccountHandle
impl UnsafeUnpin for QueryAccountHandle
impl UnwindSafe for QueryAccountHandle
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