Struct screen_capture_kit::error::SCStreamErrorCode
source · #[repr(transparent)]pub struct SCStreamErrorCode(pub NSInteger);Tuple Fields§
§0: NSIntegerImplementations§
source§impl SCStreamErrorCode
impl SCStreamErrorCode
pub const UserDeclined: Self = _
pub const FailedToStart: Self = _
pub const MissingEntitlements: Self = _
pub const FailedApplicationConnectionInvalid: Self = _
pub const FailedApplicationConnectionInterrupted: Self = _
pub const FailedNoMatchingApplicationContext: Self = _
pub const AttemptToStartStreamState: Self = _
pub const AttemptToStopStreamState: Self = _
pub const AttemptToUpdateFilterState: Self = _
pub const AttemptToConfigState: Self = _
pub const InternalError: Self = _
pub const InvalidParameter: Self = _
pub const NoWindowList: Self = _
pub const NoDisplayList: Self = _
pub const NoCaptureSource: Self = _
pub const RemovingStream: Self = _
pub const UserStopped: Self = _
pub const FailedToStartAudioCapture: Self = _
pub const FailedToStopAudioCapture: Self = _
Trait Implementations§
source§impl Clone for SCStreamErrorCode
impl Clone for SCStreamErrorCode
source§fn clone(&self) -> SCStreamErrorCode
fn clone(&self) -> SCStreamErrorCode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SCStreamErrorCode
impl Debug for SCStreamErrorCode
source§impl PartialEq for SCStreamErrorCode
impl PartialEq for SCStreamErrorCode
source§fn eq(&self, other: &SCStreamErrorCode) -> bool
fn eq(&self, other: &SCStreamErrorCode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for SCStreamErrorCode
impl Eq for SCStreamErrorCode
impl StructuralPartialEq for SCStreamErrorCode
Auto Trait Implementations§
impl Freeze for SCStreamErrorCode
impl RefUnwindSafe for SCStreamErrorCode
impl Send for SCStreamErrorCode
impl Sync for SCStreamErrorCode
impl Unpin for SCStreamErrorCode
impl UnwindSafe for SCStreamErrorCode
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