pub enum InvalidOutputPath {
NotUtf8,
InteriorNul,
}Expand description
Why a path could not be handed to SCRecordingOutputConfiguration.
Variants§
NotUtf8
Foundation file URLs require a valid UTF-8 path.
InteriorNul
The path contains an interior NUL byte, which would truncate it.
Trait Implementations§
Source§impl Clone for InvalidOutputPath
impl Clone for InvalidOutputPath
Source§fn clone(&self) -> InvalidOutputPath
fn clone(&self) -> InvalidOutputPath
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InvalidOutputPath
Source§impl Debug for InvalidOutputPath
impl Debug for InvalidOutputPath
Source§impl Display for InvalidOutputPath
impl Display for InvalidOutputPath
impl Eq for InvalidOutputPath
Source§impl Error for InvalidOutputPath
impl Error for InvalidOutputPath
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl Hash for InvalidOutputPath
impl Hash for InvalidOutputPath
Source§impl PartialEq for InvalidOutputPath
impl PartialEq for InvalidOutputPath
Source§fn eq(&self, other: &InvalidOutputPath) -> bool
fn eq(&self, other: &InvalidOutputPath) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InvalidOutputPath
Auto Trait Implementations§
impl Freeze for InvalidOutputPath
impl RefUnwindSafe for InvalidOutputPath
impl Send for InvalidOutputPath
impl Sync for InvalidOutputPath
impl Unpin for InvalidOutputPath
impl UnsafeUnpin for InvalidOutputPath
impl UnwindSafe for InvalidOutputPath
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