#[non_exhaustive]pub enum SourceNameError {
NulError(NulError),
TooLong,
}Expand description
see validate_source_name for more information
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.
NulError(NulError)
The input name contained Nul characters
TooLong
The total length of an NDI source name should be limited to 253 characters
Trait Implementations§
Source§impl Clone for SourceNameError
impl Clone for SourceNameError
Source§fn clone(&self) -> SourceNameError
fn clone(&self) -> SourceNameError
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SourceNameError
impl Debug for SourceNameError
Source§impl PartialEq for SourceNameError
impl PartialEq for SourceNameError
impl Eq for SourceNameError
impl StructuralPartialEq for SourceNameError
Auto Trait Implementations§
impl Freeze for SourceNameError
impl RefUnwindSafe for SourceNameError
impl Send for SourceNameError
impl Sync for SourceNameError
impl Unpin for SourceNameError
impl UnwindSafe for SourceNameError
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)