Use pydantic #23
@ -164,7 +164,6 @@ impl fmt::Display for CameraError {
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[derive(Debug)]
|
||||
pub struct Ims100BatchHandler {
|
||||
id: UniqueApidTargetId,
|
||||
@ -175,7 +174,6 @@ pub struct Ims100BatchHandler {
|
||||
}
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
#[allow(dead_code)]
|
||||
impl Ims100BatchHandler {
|
||||
pub fn new(
|
||||
id: UniqueApidTargetId,
|
||||
@ -306,6 +304,7 @@ impl Ims100BatchHandler {
|
||||
Ok(output)
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn list_current_images(&self) -> Result<Vec<String>, CameraError> {
|
||||
let output = Command::new("ls").arg("-l").arg("*.png").output()?;
|
||||
|
||||
@ -319,6 +318,7 @@ impl Ims100BatchHandler {
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[allow(dead_code)]
|
||||
pub fn take_picture_from_str(
|
||||
&mut self,
|
||||
R: &str,
|
||||
|
Loading…
Reference in New Issue
Block a user