Struct hyper::client::dispatch::UnboundedSender
source · pub(crate) struct UnboundedSender<T, U> {
giver: SharedGiver,
inner: UnboundedSender<Envelope<T, U>>,
}
Expand description
An unbounded version.
Cannot poll the Giver, but can still use it to determine if the Receiver has been dropped. However, this version can be cloned.
Fields§
§giver: SharedGiver
Only used for is_closed
, since mpsc::UnboundedSender cannot be checked.
inner: UnboundedSender<Envelope<T, U>>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T, U> Freeze for UnboundedSender<T, U>
impl<T, U> !RefUnwindSafe for UnboundedSender<T, U>
impl<T, U> Send for UnboundedSender<T, U>
impl<T, U> Sync for UnboundedSender<T, U>
impl<T, U> Unpin for UnboundedSender<T, U>
impl<T, U> !UnwindSafe for UnboundedSender<T, U>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)