Struct salvo_core::fuse::flex::FlexFactory
source · pub struct FlexFactory { /* private fields */ }
Expand description
A FlexFusewire
builder.
Implementations§
source§impl FlexFactory
impl FlexFactory
sourcepub fn tcp_idle_timeout(self, timeout: Duration) -> Self
pub fn tcp_idle_timeout(self, timeout: Duration) -> Self
Set the timeout for close the idle tcp connection.
sourcepub fn tcp_frame_timeout(self, timeout: Duration) -> Self
pub fn tcp_frame_timeout(self, timeout: Duration) -> Self
Set the timeout for close the connection if frame can not be recived.
sourcepub fn build(&self, info: FuseInfo) -> FlexFusewire
pub fn build(&self, info: FuseInfo) -> FlexFusewire
Build a FlexFusewire
.
Trait Implementations§
source§impl Clone for FlexFactory
impl Clone for FlexFactory
source§fn clone(&self) -> FlexFactory
fn clone(&self) -> FlexFactory
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for FlexFactory
impl Default for FlexFactory
Auto Trait Implementations§
impl Freeze for FlexFactory
impl !RefUnwindSafe for FlexFactory
impl Send for FlexFactory
impl Sync for FlexFactory
impl Unpin for FlexFactory
impl !UnwindSafe for FlexFactory
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