pub enum CheckLook {
NoCamera,
Framed {
look: EventRecord,
frame: ImageRef,
path: PathBuf,
bytes: Vec<u8>,
url: String,
},
NoFrame {
look: EventRecord,
detail: String,
},
Failed {
look: EventRecord,
detail: String,
},
}Expand description
What a camera check’s one fresh look came to.
Variants§
NoCamera
No camera is configured, so nothing was asked or recorded.
Framed
The camera gave a frame, stored with the look.
Fields
§
look: EventRecordThe look, as it was written down.
NoFrame
The camera answered and gave no frame: an error status, a body that is no image, or a frame that does not decode.
Fields
§
look: EventRecordThe look, written down with no frame.
Failed
The look failed: the camera could not be reached, took too long, or its frame could not be stored.
Trait Implementations§
Auto Trait Implementations§
impl Forget for CheckLook
impl Freeze for CheckLook
impl Move for CheckLook
impl RefUnwindSafe for CheckLook
impl Send for CheckLook
impl Sync for CheckLook
impl Unpin for CheckLook
impl UnsafeUnpin for CheckLookwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
Utc: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for CheckLookwhere
RawVecInner: UnwindSafe,
NonZero<i32>: UnwindSafe,
Utc: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
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