pub struct InteriorNulError;Expand description
A string that could not be forwarded to ScreenCaptureKit.
The native properties take C strings, so a value containing an interior NUL byte cannot be represented without truncating it into a different — and silently wrong — identifier.
Trait Implementations§
Source§impl Clone for InteriorNulError
impl Clone for InteriorNulError
Source§fn clone(&self) -> InteriorNulError
fn clone(&self) -> InteriorNulError
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 InteriorNulError
Source§impl Debug for InteriorNulError
impl Debug for InteriorNulError
Source§impl Display for InteriorNulError
impl Display for InteriorNulError
impl Eq for InteriorNulError
Source§impl Error for InteriorNulError
impl Error for InteriorNulError
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 From<InteriorNulError> for SCError
impl From<InteriorNulError> for SCError
Source§fn from(error: InteriorNulError) -> Self
fn from(error: InteriorNulError) -> Self
Converts to this type from the input type.
Source§impl Hash for InteriorNulError
impl Hash for InteriorNulError
Source§impl PartialEq for InteriorNulError
impl PartialEq for InteriorNulError
Source§fn eq(&self, other: &InteriorNulError) -> bool
fn eq(&self, other: &InteriorNulError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InteriorNulError
Auto Trait Implementations§
impl Freeze for InteriorNulError
impl RefUnwindSafe for InteriorNulError
impl Send for InteriorNulError
impl Sync for InteriorNulError
impl Unpin for InteriorNulError
impl UnsafeUnpin for InteriorNulError
impl UnwindSafe for InteriorNulError
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