pub struct PushHandle { /* private fields */ }Expand description
Handle for sending out-of-band push responses.
Implementations§
Trait Implementations§
Source§impl Clone for PushHandle
impl Clone for PushHandle
Source§fn clone(&self) -> PushHandle
fn clone(&self) -> PushHandle
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 moreSource§impl Debug for PushHandle
impl Debug for PushHandle
Source§impl<State> FromRequest<State> for PushHandle
impl<State> FromRequest<State> for PushHandle
type Rejection = Infallible
async fn from_request( ctx: &mut RequestContext, _state: &Arc<State>, ) -> Result<Self, Self::Rejection>
Auto Trait Implementations§
impl Freeze for PushHandle
impl RefUnwindSafe for PushHandle
impl Send for PushHandle
impl Sync for PushHandle
impl Unpin for PushHandle
impl UnsafeUnpin for PushHandle
impl UnwindSafe for PushHandle
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