pub struct RTDSClient { /* private fields */ }Implementations§
Source§impl RTDSClient
impl RTDSClient
pub fn new() -> Self
pub fn with_event_slug(self, event_slug: String) -> Self
pub fn with_event_id(self, event_id: u64) -> Self
pub fn with_clob_auth( self, key: String, secret: String, passphrase: String, ) -> Self
pub fn with_gamma_auth(self, address: String) -> Self
pub async fn connect_and_listen<F>(&self, on_update: F) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RTDSClient
impl RefUnwindSafe for RTDSClient
impl Send for RTDSClient
impl Sync for RTDSClient
impl Unpin for RTDSClient
impl UnwindSafe for RTDSClient
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