Struct axum::extract::ws::DefaultOnFailedUpgrade
source · #[non_exhaustive]pub struct DefaultOnFailedUpgrade;
Expand description
The default OnFailedUpgrade
used by WebSocketUpgrade
.
It simply ignores the error.
Trait Implementations§
source§impl Debug for DefaultOnFailedUpgrade
impl Debug for DefaultOnFailedUpgrade
Auto Trait Implementations§
impl Freeze for DefaultOnFailedUpgrade
impl RefUnwindSafe for DefaultOnFailedUpgrade
impl Send for DefaultOnFailedUpgrade
impl Sync for DefaultOnFailedUpgrade
impl Unpin for DefaultOnFailedUpgrade
impl UnwindSafe for DefaultOnFailedUpgrade
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