pub enum ProtoHttp1LayerError<SvcError> {
Implementation(String),
InternalServiceWrongResponse,
InternalServiceError(SvcError),
}Variants§
Implementation(String)
An error in the implementation of this layer
InternalServiceWrongResponse
The internal service returned a wrong response
InternalServiceError(SvcError)
An error in the internal service
Trait Implementations§
Source§impl<SvcError: Debug> Debug for ProtoHttp1LayerError<SvcError>
impl<SvcError: Debug> Debug for ProtoHttp1LayerError<SvcError>
Source§impl<SvcError: PartialEq> PartialEq for ProtoHttp1LayerError<SvcError>
impl<SvcError: PartialEq> PartialEq for ProtoHttp1LayerError<SvcError>
Source§fn eq(&self, other: &ProtoHttp1LayerError<SvcError>) -> bool
fn eq(&self, other: &ProtoHttp1LayerError<SvcError>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<SvcError: Eq> Eq for ProtoHttp1LayerError<SvcError>
impl<SvcError> StructuralPartialEq for ProtoHttp1LayerError<SvcError>
Auto Trait Implementations§
impl<SvcError> Freeze for ProtoHttp1LayerError<SvcError>where
SvcError: Freeze,
impl<SvcError> RefUnwindSafe for ProtoHttp1LayerError<SvcError>where
SvcError: RefUnwindSafe,
impl<SvcError> Send for ProtoHttp1LayerError<SvcError>where
SvcError: Send,
impl<SvcError> Sync for ProtoHttp1LayerError<SvcError>where
SvcError: Sync,
impl<SvcError> Unpin for ProtoHttp1LayerError<SvcError>where
SvcError: Unpin,
impl<SvcError> UnwindSafe for ProtoHttp1LayerError<SvcError>where
SvcError: 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