#[non_exhaustive]pub enum CodecSupport {
Supported {
implementation: CodecImplementation,
},
UnsupportedCodec,
UnsupportedProfile,
InvalidConfiguration {
reason: String,
},
HardwareUnavailable,
}Expand description
The result of querying a factory with a complete normalized configuration.
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.
Supported
Fields
§
implementation: CodecImplementationUnsupportedCodec
UnsupportedProfile
InvalidConfiguration
Implementations§
Source§impl CodecSupport
impl CodecSupport
pub const fn is_supported(&self) -> bool
Trait Implementations§
Source§impl Clone for CodecSupport
impl Clone for CodecSupport
Source§impl Debug for CodecSupport
impl Debug for CodecSupport
impl Eq for CodecSupport
Source§impl PartialEq for CodecSupport
impl PartialEq for CodecSupport
impl StructuralPartialEq for CodecSupport
Auto Trait Implementations§
impl Freeze for CodecSupport
impl RefUnwindSafe for CodecSupport
impl Send for CodecSupport
impl Sync for CodecSupport
impl Unpin for CodecSupport
impl UnsafeUnpin for CodecSupport
impl UnwindSafe for CodecSupport
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