Enum edge_http::ws::UpgradeError
source · pub enum UpgradeError {
NoVersion,
NoSecKey,
UnsupportedVersion,
}Variants§
Trait Implementations§
source§impl Clone for UpgradeError
impl Clone for UpgradeError
source§fn clone(&self) -> UpgradeError
fn clone(&self) -> UpgradeError
Returns a copy of the value. Read more
1.0.0 · 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 UpgradeError
impl Debug for UpgradeError
source§impl Display for UpgradeError
impl Display for UpgradeError
source§impl<E> From<UpgradeError> for Error<E>
impl<E> From<UpgradeError> for Error<E>
source§fn from(e: UpgradeError) -> Self
fn from(e: UpgradeError) -> Self
Converts to this type from the input type.
source§impl PartialEq for UpgradeError
impl PartialEq for UpgradeError
impl Copy for UpgradeError
impl Eq for UpgradeError
impl StructuralPartialEq for UpgradeError
Auto Trait Implementations§
impl Freeze for UpgradeError
impl RefUnwindSafe for UpgradeError
impl Send for UpgradeError
impl Sync for UpgradeError
impl Unpin for UpgradeError
impl UnwindSafe for UpgradeError
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)