pub enum Device {
InivationDavis346(Device),
InivationDvxplorer(Device),
PropheseeEvk3Hd(Device),
PropheseeEvk4(Device),
}
Variants§
Implementations§
Source§impl Device
impl Device
pub fn create_adapter(&self) -> Adapter
pub fn next_with_timeout(&self, timeout: &Duration) -> Option<BufferView<'_>>
pub fn backlog(&self) -> usize
pub fn properties(&self) -> Properties
pub fn name(&self) -> &'static str
pub fn vendor_and_product_id(&self) -> (u16, u16)
pub fn serial(&self) -> String
pub fn chip_firmware_configuration(&self) -> Configuration
pub fn speed(&self) -> Speed
pub fn default_configuration(&self) -> Configuration
pub fn current_configuration(&self) -> Configuration
pub fn update_configuration( &self, configuration: Configuration, ) -> Result<(), Error>
Auto Trait Implementations§
impl Freeze for Device
impl !RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl !UnwindSafe for Device
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