pub struct ClientFlowManager<T: IdentityType + Clone, AE: AsyncExecutor> { /* private fields */ }Expand description
Client-side flow manager that handles packet encryption, decoy traffic, and socket I/O.
Trait Implementations§
Source§impl<T: IdentityType + Clone + 'static, AE: AsyncExecutor + 'static> DecoyFlowSender for ClientFlowManager<T, AE>
impl<T: IdentityType + Clone + 'static, AE: AsyncExecutor + 'static> DecoyFlowSender for ClientFlowManager<T, AE>
Source§fn send_decoy_packet<'a>(
&'a self,
packet: DynamicByteBuffer,
fallthrough: bool,
is_maintenance: bool,
) -> Pin<Box<dyn Future<Output = Result<(), FlowControllerError>> + Send + 'a>>
fn send_decoy_packet<'a>( &'a self, packet: DynamicByteBuffer, fallthrough: bool, is_maintenance: bool, ) -> Pin<Box<dyn Future<Output = Result<(), FlowControllerError>> + Send + 'a>>
Send a generated decoy packet through the flow manager.
fallthrough skips the tailer step (see FlowManager::send_packet).Source§impl<T: IdentityType + Clone + 'static, AE: AsyncExecutor + 'static> ProbeFlowSender for ClientFlowManager<T, AE>
impl<T: IdentityType + Clone + 'static, AE: AsyncExecutor + 'static> ProbeFlowSender for ClientFlowManager<T, AE>
Auto Trait Implementations§
impl<T, AE> !Freeze for ClientFlowManager<T, AE>
impl<T, AE> !RefUnwindSafe for ClientFlowManager<T, AE>
impl<T, AE> !UnwindSafe for ClientFlowManager<T, AE>
impl<T, AE> Send for ClientFlowManager<T, AE>
impl<T, AE> Sync for ClientFlowManager<T, AE>
impl<T, AE> Unpin for ClientFlowManager<T, AE>
impl<T, AE> UnsafeUnpin for ClientFlowManager<T, AE>
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