pub enum ProtoHttp2Error<Error: Debug> {
InvalidPreface,
Timeout,
InnerServiceClosed,
ServiceError(Error),
OtherInternalError(&'static str),
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl<Error> Freeze for ProtoHttp2Error<Error>where
Error: Freeze,
impl<Error> RefUnwindSafe for ProtoHttp2Error<Error>where
Error: RefUnwindSafe,
impl<Error> Send for ProtoHttp2Error<Error>where
Error: Send,
impl<Error> Sync for ProtoHttp2Error<Error>where
Error: Sync,
impl<Error> Unpin for ProtoHttp2Error<Error>where
Error: Unpin,
impl<Error> UnwindSafe for ProtoHttp2Error<Error>where
Error: UnwindSafe,
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