pub struct PolymarketPositionTransaction { /* private fields */ }Expand description
Submitted position operation that can be polled to a terminal Relayer state.
Implementations§
Source§impl PolymarketPositionTransaction
impl PolymarketPositionTransaction
Sourcepub fn transaction_id(&self) -> &str
pub fn transaction_id(&self) -> &str
Relayer transaction identifier returned at submit time.
Sourcepub async fn wait(self) -> Result<PolymarketPositionOutcome>
pub async fn wait(self) -> Result<PolymarketPositionOutcome>
Polls the Relayer until the transaction is confirmed, failed, or invalid.
§Errors
Returns an error if polling fails with a non-retryable status or the wait times out before a terminal state. A timeout leaves the on-chain outcome unknown.
Trait Implementations§
Source§impl From<PolymarketPositionTransaction> for PyPolymarketPositionTransaction
impl From<PolymarketPositionTransaction> for PyPolymarketPositionTransaction
Source§fn from(inner: PolymarketPositionTransaction) -> Self
fn from(inner: PolymarketPositionTransaction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for PolymarketPositionTransaction
impl !UnwindSafe for PolymarketPositionTransaction
impl Freeze for PolymarketPositionTransaction
impl Send for PolymarketPositionTransaction
impl Sync for PolymarketPositionTransaction
impl Unpin for PolymarketPositionTransaction
impl UnsafeUnpin for PolymarketPositionTransaction
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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 more