Enum poem::error::UpgradeError
source · [−]pub enum UpgradeError {
NoUpgrade,
Other(String),
}
Expand description
A possible error value when upgrading connection.
Variants
NoUpgrade
No upgrade
Other(String)
Other error
Trait Implementations
Performs the conversion.
The status code of this error.
Auto Trait Implementations
impl RefUnwindSafe for UpgradeError
impl Send for UpgradeError
impl Sync for UpgradeError
impl Unpin for UpgradeError
impl UnwindSafe for UpgradeError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more