[−][src]Struct basws_server::ConnectedClient
Implementations
impl<Response, Account> ConnectedClient<Response, Account> where
Response: Send + Sync + 'static,
[src]
Response: Send + Sync + 'static,
pub fn new(sender: Sender<WsBatchResponse<Response>>) -> Self
[src]
pub fn new_with_installation(
installation: InstallationConfig,
sender: Sender<WsBatchResponse<Response>>
) -> Self
[src]
installation: InstallationConfig,
sender: Sender<WsBatchResponse<Response>>
) -> Self
pub async fn send<'_>(
&'_ self,
response: WsBatchResponse<Response>
) -> Result<()>
[src]
&'_ self,
response: WsBatchResponse<Response>
) -> Result<()>
pub async fn installation<'_>(&'_ self) -> Option<InstallationConfig>
[src]
pub async fn set_installation<'_>(&'_ self, installation: InstallationConfig)
[src]
pub async fn account<'_>(&'_ self) -> Option<Handle<Account>>
[src]
pub async fn set_account<'_>(&'_ self, account: Handle<Account>)
[src]
pub async fn nonce<'_>(&'_ self) -> Option<[u8; 32]>
[src]
Trait Implementations
impl<Response, Account> Clone for ConnectedClient<Response, Account>
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl<Response, Account> !RefUnwindSafe for ConnectedClient<Response, Account>
impl<Response, Account> Send for ConnectedClient<Response, Account> where
Account: Send,
Response: Send,
Account: Send,
Response: Send,
impl<Response, Account> Sync for ConnectedClient<Response, Account> where
Account: Send + Sync,
Response: Send,
Account: Send + Sync,
Response: Send,
impl<Response, Account> Unpin for ConnectedClient<Response, Account>
impl<Response, Account> !UnwindSafe for ConnectedClient<Response, Account>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,