pub enum FrameType {
None,
Video,
Audio,
Metadata,
StatusChange,
ErrorFrame,
}
Expand description
A description of the type of of frame received.
This is usually returned by Recv::capture_all()
Variants
None
nothing changed, usually due to timeout
Video
Received a video frame
Audio
Received an audio frame
Metadata
Received a metadata frame
StatusChange
This indicates that the settings on this input have changed.
For instance, this value will be returned from recv::Recv::capture_all()
.
when the device is known to have new settings, for instance the web URL has changed or the device
is now known to be a PTZ camera.
ErrorFrame
error occured (disconnected)
Trait Implementations
impl Copy for FrameType
impl Eq for FrameType
impl StructuralEq for FrameType
impl StructuralPartialEq for FrameType
Auto Trait Implementations
impl RefUnwindSafe for FrameType
impl Send for FrameType
impl Sync for FrameType
impl Unpin for FrameType
impl UnwindSafe for FrameType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more