pub struct ProxyTimeouts { /* private fields */ }Implementations§
Source§impl ProxyTimeouts
impl ProxyTimeouts
pub const DEFAULT_REQUEST_HEADER_TIMEOUT: Duration
pub const DEFAULT_SOCKET_TIMEOUT: Duration
pub fn new( request_header_timeout: Duration, socket_timeout: Duration, ) -> Result<Self, ProxyTimeoutsError>
pub const fn request_header_timeout(self) -> Duration
pub const fn socket_timeout(self) -> Duration
Trait Implementations§
Source§impl Clone for ProxyTimeouts
impl Clone for ProxyTimeouts
impl Copy for ProxyTimeouts
Source§impl Debug for ProxyTimeouts
impl Debug for ProxyTimeouts
Source§impl Default for ProxyTimeouts
impl Default for ProxyTimeouts
impl Eq for ProxyTimeouts
Source§impl PartialEq for ProxyTimeouts
impl PartialEq for ProxyTimeouts
impl StructuralPartialEq for ProxyTimeouts
Auto Trait Implementations§
impl Freeze for ProxyTimeouts
impl RefUnwindSafe for ProxyTimeouts
impl Send for ProxyTimeouts
impl Sync for ProxyTimeouts
impl Unpin for ProxyTimeouts
impl UnsafeUnpin for ProxyTimeouts
impl UnwindSafe for ProxyTimeouts
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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