Struct pico_driver::ps4000a::PS4000ADriver [−][src]
Implementations
impl PS4000ADriver
[src]
Trait Implementations
impl Debug for PS4000ADriver
[src]
impl PicoDriver for PS4000ADriver
[src]
fn get_driver(&self) -> Driver
[src]
fn get_version(&self) -> PicoResult<String>
[src]
fn get_path(&self) -> PicoResult<Option<String>>
[src]
fn enumerate_units(&self) -> PicoResult<Vec<EnumerationResult>>
[src]
fn open_unit(&self, serial: Option<&str>) -> PicoResult<i16>
[src]
fn ping_unit(&self, handle: i16) -> PicoResult<()>
[src]
fn maximum_value(&self, handle: i16) -> PicoResult<i16>
[src]
fn close(&self, handle: i16) -> PicoResult<()>
[src]
fn get_unit_info(&self, handle: i16, info_type: PicoInfo) -> PicoResult<String>
[src]
fn get_channel_ranges(
&self,
handle: i16,
channel: PicoChannel
) -> PicoResult<Vec<PicoRange>>
[src]
&self,
handle: i16,
channel: PicoChannel
) -> PicoResult<Vec<PicoRange>>
fn enable_channel(
&self,
handle: i16,
channel: PicoChannel,
config: &ChannelConfig
) -> PicoResult<()>
[src]
&self,
handle: i16,
channel: PicoChannel,
config: &ChannelConfig
) -> PicoResult<()>
fn disable_channel(&self, handle: i16, channel: PicoChannel) -> PicoResult<()>
[src]
fn set_data_buffer(
&self,
handle: i16,
channel: PicoChannel,
buffer: Arc<RwLock<Pin<Vec<i16>>>>,
buffer_len: usize
) -> PicoResult<()>
[src]
&self,
handle: i16,
channel: PicoChannel,
buffer: Arc<RwLock<Pin<Vec<i16>>>>,
buffer_len: usize
) -> PicoResult<()>
fn start_streaming(
&self,
handle: i16,
sample_config: &SampleConfig
) -> PicoResult<SampleConfig>
[src]
&self,
handle: i16,
sample_config: &SampleConfig
) -> PicoResult<SampleConfig>
fn get_latest_streaming_values<'a>(
&self,
handle: i16,
_channels: &[PicoChannel],
callback: Box<dyn FnMut(usize, usize) + 'a>
) -> PicoResult<()>
[src]
&self,
handle: i16,
_channels: &[PicoChannel],
callback: Box<dyn FnMut(usize, usize) + 'a>
) -> PicoResult<()>
fn stop(&self, handle: i16) -> PicoResult<()>
[src]
fn check_version(&self) -> Result<(), DriverLoadError>
[src]
Auto Trait Implementations
impl !RefUnwindSafe for PS4000ADriver
impl Send for PS4000ADriver
impl Sync for PS4000ADriver
impl Unpin for PS4000ADriver
impl !UnwindSafe for PS4000ADriver
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[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.
pub 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>,