pub struct MaintainedControl<I: PacketIO, A: AuthResource> { /* private fields */ }Implementations§
Source§impl<I: PacketIO, A: AuthResource> MaintainedControl<I, A>
impl<I: PacketIO, A: AuthResource> MaintainedControl<I, A>
pub async fn setup(io: I, auth: A) -> Result<Self, SetupError>
pub async fn reload_control_addr<E: Into<SetupError>, C: Future<Output = Result<I, E>>>( &mut self, create_io: C, ) -> Result<bool, SetupError>
pub async fn replace_connection( &mut self, connected: ConnectedControl<I>, force: bool, ) -> Result<bool, SetupError>
pub async fn send_udp_session_auth( &mut self, now_ms: u64, min_wait_ms: u64, ) -> bool
pub async fn update(&mut self) -> Option<TunnelControlEvent>
Auto Trait Implementations§
impl<I, A> Freeze for MaintainedControl<I, A>
impl<I, A> RefUnwindSafe for MaintainedControl<I, A>where
A: RefUnwindSafe,
I: RefUnwindSafe,
impl<I, A> Send for MaintainedControl<I, A>where
A: Send,
impl<I, A> Sync for MaintainedControl<I, A>where
A: Sync,
impl<I, A> Unpin for MaintainedControl<I, A>
impl<I, A> UnwindSafe for MaintainedControl<I, A>where
A: UnwindSafe,
I: UnwindSafe,
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