Struct redpitaya_scpi::socket::Socket
[−]
[src]
pub struct Socket { /* fields omitted */ }
Methods
impl Socket
[src]
fn new<S>(addr: S) -> Self where
S: ToSocketAddrs,
S: ToSocketAddrs,
fn send<D>(&mut self, command: D) where
D: Display,
D: Display,
fn receive(&mut self) -> String
Trait Implementations
impl Clone for Socket
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more