pub struct PreparedSend<'a> { /* private fields */ }Expand description
Prepared send transaction
Created by Wallet::prepare_send. Call confirm to complete the send
and create a token, or cancel to release reserved proofs.
Implementations§
Source§impl PreparedSend<'_>
impl PreparedSend<'_>
Sourcepub fn operation_id(&self) -> Uuid
pub fn operation_id(&self) -> Uuid
Operation ID for this prepared send
Sourcepub fn options(&self) -> &SendOptions
pub fn options(&self) -> &SendOptions
Send options
Sourcepub fn proofs_to_swap(&self) -> &Proofs
pub fn proofs_to_swap(&self) -> &Proofs
Proofs that need to be swapped before sending
Sourcepub fn proofs_to_send(&self) -> &Proofs
pub fn proofs_to_send(&self) -> &Proofs
Proofs that will be sent directly
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for PreparedSend<'a>
impl<'a> !UnwindSafe for PreparedSend<'a>
impl<'a> Freeze for PreparedSend<'a>
impl<'a> Send for PreparedSend<'a>
impl<'a> Sync for PreparedSend<'a>
impl<'a> Unpin for PreparedSend<'a>
impl<'a> UnsafeUnpin for PreparedSend<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§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