#[non_exhaustive]pub enum ResendPolicy {
Auto,
Off,
}Expand description
Whether a stream asks the camera to send lost packets again (SR-04).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Auto
Ask, if the camera’s GVCP Capability register (0x0934) says it
supports PACKETRESEND_CMD. A multicast stream never asks.
Off
Never ask.
Trait Implementations§
Source§impl Clone for ResendPolicy
impl Clone for ResendPolicy
impl Copy for ResendPolicy
Source§impl Debug for ResendPolicy
impl Debug for ResendPolicy
Source§impl Default for ResendPolicy
impl Default for ResendPolicy
impl Eq for ResendPolicy
Source§impl PartialEq for ResendPolicy
impl PartialEq for ResendPolicy
impl StructuralPartialEq for ResendPolicy
Auto Trait Implementations§
impl Freeze for ResendPolicy
impl RefUnwindSafe for ResendPolicy
impl Send for ResendPolicy
impl Sync for ResendPolicy
impl Unpin for ResendPolicy
impl UnsafeUnpin for ResendPolicy
impl UnwindSafe for ResendPolicy
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.