Struct worker::ConnectionBuilder
source · pub struct ConnectionBuilder { /* private fields */ }
Implementations§
source§impl ConnectionBuilder
impl ConnectionBuilder
sourcepub fn allow_half_open(self, allow_half_open: bool) -> Self
pub fn allow_half_open(self, allow_half_open: bool) -> Self
Set whether the writable side of the TCP socket will automatically close on end-of-file (EOF).
pub fn secure_transport(self, secure_transport: SecureTransport) -> Self
Trait Implementations§
source§impl Default for ConnectionBuilder
impl Default for ConnectionBuilder
source§fn default() -> ConnectionBuilder
fn default() -> ConnectionBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ConnectionBuilder
impl Send for ConnectionBuilder
impl Sync for ConnectionBuilder
impl Unpin for ConnectionBuilder
impl UnwindSafe for ConnectionBuilder
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