pub struct EstablishedControl<A: AuthResource, IO: PacketIO> { /* private fields */ }Implementations§
Source§impl<A: AuthResource, IO: PacketIO> EstablishedControl<A, IO>
impl<A: AuthResource, IO: PacketIO> EstablishedControl<A, IO>
pub async fn send_keep_alive( &mut self, request_id: u64, ) -> Result<(), ControlError>
pub async fn send_setup_udp_channel( &mut self, request_id: u64, ) -> Result<(), ControlError>
pub async fn send_ping( &mut self, request_id: u64, now: u64, ) -> Result<(), ControlError>
pub fn get_expire_at(&self) -> u64
pub fn is_expired(&self) -> Option<ExpiredReason>
pub fn set_expired(&mut self)
pub async fn authenticate(&mut self) -> Result<(), SetupError>
pub fn into_connected(self) -> ConnectedControl<IO>
pub async fn recv_feed_msg(&mut self) -> Result<ControlFeed, ControlError>
Auto Trait Implementations§
impl<A, IO> Freeze for EstablishedControl<A, IO>
impl<A, IO> RefUnwindSafe for EstablishedControl<A, IO>where
A: RefUnwindSafe,
IO: RefUnwindSafe,
impl<A, IO> Send for EstablishedControl<A, IO>where
A: Send,
impl<A, IO> Sync for EstablishedControl<A, IO>where
A: Sync,
impl<A, IO> Unpin for EstablishedControl<A, IO>
impl<A, IO> UnwindSafe for EstablishedControl<A, IO>where
A: UnwindSafe,
IO: 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