pub struct MakerStream { /* private fields */ }Expand description
One externally authenticated owner-only maker stream. The SDK retains no signer and fails closed on any identity or sequence mismatch.
Implementations§
Source§impl MakerStream
impl MakerStream
pub fn market_id(&self) -> &str
pub fn wallet_address(&self) -> &str
Sourcepub async fn next_event(
&mut self,
) -> Result<Option<PlatformMakerEvent>, SdkError>
pub async fn next_event( &mut self, ) -> Result<Option<PlatformMakerEvent>, SdkError>
The first call returns the authenticated snapshot received during connection. Later calls return sequenced fill, status, heartbeat, or recovery-snapshot events.
pub async fn close(&mut self) -> Result<(), SdkError>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for MakerStream
impl !RefUnwindSafe for MakerStream
impl !UnwindSafe for MakerStream
impl Send for MakerStream
impl Sync for MakerStream
impl Unpin for MakerStream
impl UnsafeUnpin for MakerStream
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