pub struct RtmApi { /* private fields */ }Expand description
RTM API client
Implementations§
Source§impl RtmApi
impl RtmApi
Sourcepub async fn connect(&self) -> Result<RtmConnectResponse>
pub async fn connect(&self) -> Result<RtmConnectResponse>
Connect to the RTM API
Returns the WebSocket URL and self information
Auto Trait Implementations§
impl Freeze for RtmApi
impl !RefUnwindSafe for RtmApi
impl Send for RtmApi
impl Sync for RtmApi
impl Unpin for RtmApi
impl !UnwindSafe for RtmApi
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