pub struct AxumWebSocketTransport { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Transport for AxumWebSocketTransport
impl Transport for AxumWebSocketTransport
fn id(&self) -> &str
fn send_event<'life0, 'async_trait>(
&'life0 self,
event: Event,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn close<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn transport_type(&self) -> TransportType
fn is_active<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_assign<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 str,
) -> Pin<Box<dyn Future<Output = Option<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn set_assign<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 str,
value: Value,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn clone_assigns<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = PondAssigns> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !Freeze for AxumWebSocketTransport
impl !RefUnwindSafe for AxumWebSocketTransport
impl Send for AxumWebSocketTransport
impl Sync for AxumWebSocketTransport
impl Unpin for AxumWebSocketTransport
impl UnsafeUnpin for AxumWebSocketTransport
impl !UnwindSafe for AxumWebSocketTransport
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