Struct salvo_core::fuse::flex::FlexFusewire
source · pub struct FlexFusewire { /* private fields */ }
Expand description
A simple fusewire.
Implementations§
source§impl FlexFusewire
impl FlexFusewire
sourcepub fn builder() -> FlexFactory
pub fn builder() -> FlexFactory
Create a new FlexFactory
.
sourcepub fn tcp_idle_timeout(&self) -> Duration
pub fn tcp_idle_timeout(&self) -> Duration
Get the timeout for close the idle tcp connection.
sourcepub fn tcp_frame_timeout(&self) -> Duration
pub fn tcp_frame_timeout(&self) -> Duration
Get the timeout for close the connection if frame can not be recived.
sourcepub fn tls_handshake_timeout(&self) -> Duration
pub fn tls_handshake_timeout(&self) -> Duration
Set the timeout for close the connection if handshake not finished.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FlexFusewire
impl !RefUnwindSafe for FlexFusewire
impl Send for FlexFusewire
impl Sync for FlexFusewire
impl Unpin for FlexFusewire
impl !UnwindSafe for FlexFusewire
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