pub enum WebsocketBase {
WebsocketApi(Arc<WebsocketApi>),
WebsocketStreams(Arc<WebsocketStreams>),
}Variants§
WebsocketApi(Arc<WebsocketApi>)
WebsocketStreams(Arc<WebsocketStreams>)
Trait Implementations§
Source§impl Clone for WebsocketBase
impl Clone for WebsocketBase
Source§fn clone(&self) -> WebsocketBase
fn clone(&self) -> WebsocketBase
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WebsocketBase
impl !RefUnwindSafe for WebsocketBase
impl Send for WebsocketBase
impl Sync for WebsocketBase
impl Unpin for WebsocketBase
impl !UnwindSafe for WebsocketBase
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