pub struct GpibController { /* private fields */ }
Implementations§
Source§impl GpibController
impl GpibController
pub fn send_raw_data( &mut self, message: &str, ) -> Result<usize, GpibControllerError>
pub fn gpib_send_to_addr( &mut self, message: &str, gpib_addr: u8, ) -> Result<usize, GpibControllerError>
pub fn read_data(&mut self) -> Result<&str, GpibControllerError>
pub fn try_new_from( ip_addr: IpAddr, ) -> Result<GpibController, GpibControllerError>
pub fn set_address(&mut self, address: u8) -> Result<(), GpibControllerError>
pub fn gpib_send_and_listen_wrapper( &mut self, message: &str, gpib_address: u8, ignore_response: bool, ) -> Result<Option<String>, GpibControllerError>
Auto Trait Implementations§
impl Freeze for GpibController
impl RefUnwindSafe for GpibController
impl Send for GpibController
impl Sync for GpibController
impl Unpin for GpibController
impl UnwindSafe for GpibController
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