[−][src]Struct p50x::Device
Implementations
impl Device
[src]
pub fn new(port_name: &str, baud_rate: u32) -> Result<Device>
[src]
pub fn set_timeout(&mut self, timeout: u64) -> Result<()>
[src]
Trait Implementations
impl P50XBinary for Device
[src]
fn xpower_off(&mut self) -> Result<()>
[src]
fn xpower_on(&mut self) -> Result<()>
[src]
fn xhalt(&mut self) -> Result<()>
[src]
fn xso_set(&mut self, special_option: u16, value: u8) -> Result<()>
[src]
fn xso_get(&mut self, special_option: u16) -> Result<u8>
[src]
fn xversion(&mut self) -> Result<Vec<u8>>
[src]
fn xp50xch(&mut self, extended_character: u8) -> Result<()>
[src]
fn xstatus(&mut self) -> Result<DeviceStatus>
[src]
fn xnop(&mut self) -> Result<()>
[src]
fn xlok(&mut self, address: u16, speed: i8, options: XLokOptions) -> Result<()>
[src]
fn xlok_status(&mut self, address: u16) -> Result<XLokStatus>
[src]
fn xlok_config(&mut self, address: u16) -> Result<XLokConfig>
[src]
fn xlok_dispatch(&mut self, address: u16) -> Result<Option<u8>>
[src]
fn xfunc(&mut self, address: u16, functions: [bool; 8]) -> Result<()>
[src]
fn xfunc_status(&mut self, address: u16) -> Result<[bool; 8]>
[src]
fn xfuncx(&mut self, address: u16, functions: [bool; 8]) -> Result<()>
[src]
fn xfuncx_status(&mut self, address: u16) -> Result<[bool; 8]>
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Device
impl Send for Device
impl !Sync for Device
impl Unpin for Device
impl !UnwindSafe for Device
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,