pub enum PropertyActionOutcome {
Invoked {
refresh_requested: bool,
refresh: PropertyActionRefresh,
},
ExternalUrl {
url: String,
refresh: PropertyActionRefresh,
},
}Variants§
Invoked
A plugin callback was invoked. refresh_requested is the bool returned by the native
property callback; metadata/settings are refreshed regardless so callers never need to
infer stale state from that advisory flag.
ExternalUrl
OBS URL buttons are surfaced instead of opening a browser as a side effect of a library call. The application may explicitly open this URL after applying its own trust policy.
Implementations§
Source§impl PropertyActionOutcome
impl PropertyActionOutcome
pub fn refresh(&self) -> &PropertyActionRefresh
Trait Implementations§
Source§impl Clone for PropertyActionOutcome
impl Clone for PropertyActionOutcome
Auto Trait Implementations§
impl !RefUnwindSafe for PropertyActionOutcome
impl !UnwindSafe for PropertyActionOutcome
impl Forget for PropertyActionOutcome
impl Freeze for PropertyActionOutcomewhere
*const u8 is !null: Freeze,
PhantomData<PropertyMetadata>: Freeze,
*const ArcInner<Sender<ObsCommand>> is !null: Freeze,
PhantomData<ArcInner<Sender<ObsCommand>>>: Freeze,
*const ArcInner<Sender<Box<dyn FnOnce() + Send>>> is !null: Freeze,
PhantomData<ArcInner<Sender<Box<dyn FnOnce() + Send>>>>: Freeze,
*const ArcInner<Atomic<u8>> is !null: Freeze,
PhantomData<ArcInner<Atomic<u8>>>: Freeze,
*const ArcInner<NativeObjectRegistry> is !null: Freeze,
PhantomData<ArcInner<NativeObjectRegistry>>: Freeze,
NonZero<u64>: Freeze,
*const ArcInner<_ObsRuntimeGuard> is !null: Freeze,
PhantomData<ArcInner<_ObsRuntimeGuard>>: Freeze,
*const ArcInner<NativeHandleLease> is !null: Freeze,
PhantomData<ArcInner<NativeHandleLease>>: Freeze,
PhantomData<fn() -> *mut obs_data>: Freeze,
PhantomData<u8>: Freeze,
impl Move for PropertyActionOutcome
impl Send for PropertyActionOutcome
impl Sync for PropertyActionOutcome
impl Unpin for PropertyActionOutcome
impl UnsafeUnpin for PropertyActionOutcomewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<PropertyMetadata>: UnsafeUnpin,
*const ArcInner<Sender<ObsCommand>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Sender<ObsCommand>>>: UnsafeUnpin,
*const ArcInner<Sender<Box<dyn FnOnce() + Send>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Sender<Box<dyn FnOnce() + Send>>>>: UnsafeUnpin,
*const ArcInner<Atomic<u8>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Atomic<u8>>>: UnsafeUnpin,
*const ArcInner<NativeObjectRegistry> is !null: UnsafeUnpin,
PhantomData<ArcInner<NativeObjectRegistry>>: UnsafeUnpin,
NonZeroU64Inner: UnsafeUnpin,
*const ArcInner<_ObsRuntimeGuard> is !null: UnsafeUnpin,
PhantomData<ArcInner<_ObsRuntimeGuard>>: UnsafeUnpin,
*const ArcInner<NativeHandleLease> is !null: UnsafeUnpin,
PhantomData<ArcInner<NativeHandleLease>>: UnsafeUnpin,
PhantomData<fn() -> *mut obs_data>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
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