pub enum FrameType {
None = 0,
Video = 1,
Audio = 2,
Metadata = 3,
StatusChange = 100,
ErrorFrame = 4,
}Expand description
A description of the type of of frame received.
This is usually returned by Recv::capture_all()
Variants§
None = 0
nothing changed, usually due to timeout
Video = 1
Received a video frame
Audio = 2
Received an audio frame
Metadata = 3
Received a metadata frame
StatusChange = 100
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 = 4
error occured (disconnected)
Trait Implementations§
impl Copy for FrameType
impl Eq for FrameType
impl StructuralPartialEq for FrameType
Auto Trait Implementations§
impl Freeze for FrameType
impl RefUnwindSafe for FrameType
impl Send for FrameType
impl Sync for FrameType
impl Unpin for FrameType
impl UnwindSafe for FrameType
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