pub struct HttpConnectionTx {
pub session: u64,
pub tx: Sender<HttpWsTxMessage>,
pub byte_budget: Arc<Semaphore>,
}Fields§
§session: u64§tx: Sender<HttpWsTxMessage>§byte_budget: Arc<Semaphore>Trait Implementations§
Source§impl Clone for HttpConnectionTx
impl Clone for HttpConnectionTx
Source§fn clone(&self) -> HttpConnectionTx
fn clone(&self) -> HttpConnectionTx
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 !RefUnwindSafe for HttpConnectionTx
impl !UnwindSafe for HttpConnectionTx
impl Freeze for HttpConnectionTx
impl Send for HttpConnectionTx
impl Sync for HttpConnectionTx
impl Unpin for HttpConnectionTx
impl UnsafeUnpin for HttpConnectionTx
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