[−][src]Struct yukikaze::upgrade::websocket::WebsocketUpgrade
Websocket upgrade method
Trait Implementations
impl Upgrade for WebsocketUpgrade
[src]
type VerifyError = WebsocketUpgradeError
Result of upgrading
type Options = Option<WebsocketUpgradeOpts>
Upgrade options.
fn prepare_request(
headers: &mut HeaderMap,
extensions: &mut Extensions,
options: Self::Options
)
[src]
headers: &mut HeaderMap,
extensions: &mut Extensions,
options: Self::Options
)
fn verify_response(
status: StatusCode,
headers: &HeaderMap,
extensions: &Extensions
) -> Result<(), Self::VerifyError>
[src]
status: StatusCode,
headers: &HeaderMap,
extensions: &Extensions
) -> Result<(), Self::VerifyError>
Auto Trait Implementations
impl RefUnwindSafe for WebsocketUpgrade
impl Send for WebsocketUpgrade
impl Sync for WebsocketUpgrade
impl Unpin for WebsocketUpgrade
impl UnwindSafe for WebsocketUpgrade
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,