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>
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 !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