#[non_exhaustive]pub enum FileFamily {
Playback,
Recording,
}Expand description
A family of the NDI File library’s entry points, which a library provides completely or not at all.
FileApi::status reports whether the selected library provides one, and
an operation that needs a family the library lacks fails with
Error::UnsupportedCapability, naming that family and its first missing
entry point.
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.
Playback
Probing recordings (FilePlayer::probe) and playing them back as an
NDI source (FilePlayer, AsyncFilePlayer).
Recording
Recording NDI sources to disk (FileRecorder, AsyncFileRecorder).
Trait Implementations§
Source§impl Clone for FileFamily
impl Clone for FileFamily
impl Copy for FileFamily
Source§impl Debug for FileFamily
impl Debug for FileFamily
Source§impl Display for FileFamily
impl Display for FileFamily
impl Eq for FileFamily
Source§impl Hash for FileFamily
impl Hash for FileFamily
Source§impl PartialEq for FileFamily
impl PartialEq for FileFamily
impl StructuralPartialEq for FileFamily
Auto Trait Implementations§
impl Freeze for FileFamily
impl RefUnwindSafe for FileFamily
impl Send for FileFamily
impl Sync for FileFamily
impl Unpin for FileFamily
impl UnsafeUnpin for FileFamily
impl UnwindSafe for FileFamily
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