Enum actix_server::MpTcp
source · pub enum MpTcp {
Disabled,
TcpFallback,
NoFallback,
}
Expand description
Multipath TCP (MPTCP) preference.
Also see ServerBuilder::mptcp()
.
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 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