pub enum CameraTransport {
Rtsp322,
JpegTcp6000,
None,
}Expand description
How the camera is reached, which differs sharply by model.
Variants§
Rtsp322
RTSP over TLS on port 322 (X1 / X1E / H2D).
JpegTcp6000
Proprietary JPEG stream over TCP port 6000 (P1 / A1).
None
No LAN camera access.
Trait Implementations§
Source§impl Clone for CameraTransport
impl Clone for CameraTransport
Source§fn clone(&self) -> CameraTransport
fn clone(&self) -> CameraTransport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CameraTransport
Source§impl Debug for CameraTransport
impl Debug for CameraTransport
impl Eq for CameraTransport
Source§impl PartialEq for CameraTransport
impl PartialEq for CameraTransport
Source§fn eq(&self, other: &CameraTransport) -> bool
fn eq(&self, other: &CameraTransport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CameraTransport
Auto Trait Implementations§
impl Freeze for CameraTransport
impl RefUnwindSafe for CameraTransport
impl Send for CameraTransport
impl Sync for CameraTransport
impl Unpin for CameraTransport
impl UnsafeUnpin for CameraTransport
impl UnwindSafe for CameraTransport
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.