pub struct Send<'a> { /* private fields */ }Expand description
Builder for [Client::send]
[`Client::send`]: super::Client::sendImplementations§
Source§impl<'a> Send<'a>
impl<'a> Send<'a>
pub fn new(client: &'a Client) -> Self
pub fn chain<V>(self, value: V) -> Self
pub fn body<V>(self, value: V) -> Self
pub fn body_map<F>(self, f: F) -> Self
Sourcepub async fn send(self) -> Result<ResponseValue<SendTxResponse>, Error<()>>
pub async fn send(self) -> Result<ResponseValue<SendTxResponse>, Error<()>>
Sends a POST request to /v1/transaction/{chain}/send
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Send<'a>
impl<'a> !RefUnwindSafe for Send<'a>
impl<'a> Send for Send<'a>
impl<'a> Sync for Send<'a>
impl<'a> Unpin for Send<'a>
impl<'a> !UnwindSafe for Send<'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