Enum generic_camera::server::GenSrvCmd
source · pub enum GenSrvCmd {
Show 16 variants
Vendor,
CameraReady,
CameraName,
Info,
ListProperties,
GetProperty(GenCamCtrl),
SetProperty(GenCamCtrl, PropertyValue, bool),
CancelCapture,
IsCapturing,
Capture,
StartExposure,
DownloadImage,
ImageReady,
CameraState,
SetRoi(GenCamRoi),
GetRoi,
}server only.Expand description
The possible calls that can be made to a generic camera server.
Variants§
Vendor
Get the vendor of the camera. Calls the GenCam::vendor method.
CameraReady
Check if the camera is ready. Calls the GenCam::camera_ready method.
CameraName
Get the name of the camera. Calls the GenCam::camera_name method.
Info
Get the camera info. Calls the GenCam::info method.
ListProperties
List all properties available on the camera. Calls the GenCam::list_properties method.
GetProperty(GenCamCtrl)
Get a specific property from the camera. Calls the GenCam::get_property method.
SetProperty(GenCamCtrl, PropertyValue, bool)
Set a specific property on the camera. Calls the GenCam::set_property method.
CancelCapture
Cancel a capture in progress. Calls the GenCam::cancel_capture method.
IsCapturing
Check if the camera is currently capturing. Calls the GenCam::is_capturing method.
Capture
Capture an image from the camera. Calls the GenCam::capture method.
StartExposure
Start an exposure on the camera. Calls the GenCam::start_exposure method.
DownloadImage
Download an image from the camera. Calls the GenCam::download_image method.
ImageReady
Check if an image is ready to be downloaded. Calls the GenCam::image_ready method.
CameraState
Get the current state of the camera. Calls the GenCam::camera_state method.
SetRoi(GenCamRoi)
Set the region of interest on the camera. Calls the GenCam::set_roi method.
GetRoi
Get the current region of interest. Calls the GenCam::get_roi method.
Trait Implementations§
source§impl<'de> Deserialize<'de> for GenSrvCmd
impl<'de> Deserialize<'de> for GenSrvCmd
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for GenSrvCmd
impl RefUnwindSafe for GenSrvCmd
impl Send for GenSrvCmd
impl Sync for GenSrvCmd
impl Unpin for GenSrvCmd
impl UnwindSafe for GenSrvCmd
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)