pub struct RigCtlClient { /* private fields */ }Implementations§
Source§impl RigCtlClient
impl RigCtlClient
pub fn new(host: &str, port: u16, timeout: Option<u64>) -> Self
pub async fn connect(&mut self) -> Result<(), RigCtlError>
pub fn disconnect(&mut self)
pub fn is_connected(&self) -> bool
pub fn set_communication_timeout(&mut self, timeout: u64)
pub async fn get_info(&mut self) -> Result<Response, RigCtlError>
pub async fn get_mode(&mut self, vfo: VFO) -> Result<Response, RigCtlError>
pub async fn get_freq(&mut self, vfo: VFO) -> Result<Response, RigCtlError>
pub async fn get_vfo(&mut self) -> Result<Response, RigCtlError>
pub async fn get_split_vfo(&mut self) -> Result<Response, RigCtlError>
pub async fn get_split_mode( &mut self, vfo: VFO, ) -> Result<Response, RigCtlError>
pub async fn get_split_freq( &mut self, vfo: VFO, ) -> Result<Response, RigCtlError>
Auto Trait Implementations§
impl !Freeze for RigCtlClient
impl RefUnwindSafe for RigCtlClient
impl Send for RigCtlClient
impl Sync for RigCtlClient
impl Unpin for RigCtlClient
impl UnsafeUnpin for RigCtlClient
impl UnwindSafe for RigCtlClient
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