pub struct Aravis { /* private fields */ }
Expand description
Token representing access to the global state of the Aravis library.
Implementations§
source§impl Aravis
impl Aravis
sourcepub fn initialize() -> Result<Aravis, AlreadyInitializedError>
pub fn initialize() -> Result<Aravis, AlreadyInitializedError>
Retrieve a token to access global state of the Aravis library.
This may only be called once.
Any subsequent invocation after the first will return a AlreadyInitializedError
.
sourcepub fn get_device_list(&self) -> Vec<DeviceInfo>
pub fn get_device_list(&self) -> Vec<DeviceInfo>
Enumerate all available GenICam devices.
Auto Trait Implementations§
impl RefUnwindSafe for Aravis
impl Send for Aravis
impl Sync for Aravis
impl Unpin for Aravis
impl UnwindSafe for Aravis
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