pub struct Remote { /* private fields */ }Available on crate feature
link only.Expand description
A Link for a remote server or AUTD3 Simulator.
Implementations§
Source§impl Remote
impl Remote
Sourcepub const fn new(addr: SocketAddr, option: RemoteOption) -> Remote
pub const fn new(addr: SocketAddr, option: RemoteOption) -> Remote
Creates a new Remote.
Trait Implementations§
Source§impl Link for Remote
impl Link for Remote
Source§fn alloc_tx_buffer(&mut self) -> Result<Vec<TxMessage>, LinkError>
fn alloc_tx_buffer(&mut self) -> Result<Vec<TxMessage>, LinkError>
Allocate a sending buffer for the link.
Source§fn send(&mut self, tx: Vec<TxMessage>) -> Result<(), LinkError>
fn send(&mut self, tx: Vec<TxMessage>) -> Result<(), LinkError>
Sends a message to the device.
Auto Trait Implementations§
impl Freeze for Remote
impl RefUnwindSafe for Remote
impl Send for Remote
impl Sync for Remote
impl Unpin for Remote
impl UnwindSafe for Remote
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