pub struct AsyncIpConnection { /* private fields */ }
Implementations§
Source§impl AsyncIpConnection
impl AsyncIpConnection
pub async fn enumerate( &mut self, ) -> Result<Box<dyn Stream<Item = EnumerateResponse> + Unpin + Send>, TinkerforgeError>
pub async fn disconnect_probe(&mut self) -> Result<(), TinkerforgeError>
pub async fn get_authentication_nonce( &mut self, ) -> Result<[u8; 4], TinkerforgeError>
Source§impl AsyncIpConnection
impl AsyncIpConnection
pub async fn new<T: ToSocketAddrs + Debug + Clone + Send + 'static>( addr: T, ) -> Result<Self, TinkerforgeError>
Trait Implementations§
Source§impl Clone for AsyncIpConnection
impl Clone for AsyncIpConnection
Source§fn clone(&self) -> AsyncIpConnection
fn clone(&self) -> AsyncIpConnection
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for AsyncIpConnection
impl !RefUnwindSafe for AsyncIpConnection
impl Send for AsyncIpConnection
impl Sync for AsyncIpConnection
impl Unpin for AsyncIpConnection
impl !UnwindSafe for AsyncIpConnection
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