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