pub struct HttpErrorsLayer {
pub config: HttpErrorsConfig,
}Fields§
§config: HttpErrorsConfigImplementations§
Source§impl HttpErrorsLayer
impl HttpErrorsLayer
Sourcepub fn new(config: &HttpErrorsConfig) -> Self
pub fn new(config: &HttpErrorsConfig) -> Self
Create a new HttpErrorsLayer
Trait Implementations§
Source§impl Clone for HttpErrorsLayer
impl Clone for HttpErrorsLayer
Source§fn clone(&self) -> HttpErrorsLayer
fn clone(&self) -> HttpErrorsLayer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HttpErrorsLayer
impl RefUnwindSafe for HttpErrorsLayer
impl Send for HttpErrorsLayer
impl Sync for HttpErrorsLayer
impl Unpin for HttpErrorsLayer
impl UnsafeUnpin for HttpErrorsLayer
impl UnwindSafe for HttpErrorsLayer
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