pub struct Context { /* private fields */ }Expand description
Context Manager
Implementations§
Source§impl Context
impl Context
Sourcepub fn new() -> Result<Self, OrbbecError>
pub fn new() -> Result<Self, OrbbecError>
Create a new context
Sourcepub fn query_device_list<'a>(&'a self) -> Result<DeviceList<'a>, OrbbecError>
pub fn query_device_list<'a>(&'a self) -> Result<DeviceList<'a>, OrbbecError>
Query the list of connected devices
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Context
impl RefUnwindSafe for Context
impl !Send for Context
impl !Sync for Context
impl Unpin for Context
impl UnwindSafe for Context
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