Enum actix_server::MpTcp
source · pub enum MpTcp {
Disabled,
TcpFallback,
NoFallback,
}
Expand description
Multipath TCP (MPTCP) preference.
Currently only useful on Linux.
Variants§
Disabled
MPTCP will not be used when binding sockets.
TcpFallback
MPTCP will be attempted when binding sockets. If errors occur, regular TCP will be attempted, too.
NoFallback
MPTCP will be used when binding sockets (with no fallback).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MpTcp
impl RefUnwindSafe for MpTcp
impl Send for MpTcp
impl Sync for MpTcp
impl Unpin for MpTcp
impl UnwindSafe for MpTcp
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)