#[non_exhaustive]pub enum LauncherRefusal {
SelectsWorkspaceCode {
program: EchoedPath,
trigger: LaunchTrigger,
},
Unanalyzable {
program: EchoedPath,
reason: UnanalyzableLaunch,
},
TooDeep,
}Expand description
Why a launcher lets the workspace choose the program that runs.
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.
SelectsWorkspaceCode
A launcher selects workspace code.
Unanalyzable
The launch cannot be analyzed, which untrusted mode treats as unsafe.
Fields
§
program: EchoedPathThe launcher’s name.
§
reason: UnanalyzableLaunchWhy it cannot be analyzed.
TooDeep
Wrappers are nested deeper than the analysis follows.
Trait Implementations§
Source§impl Clone for LauncherRefusal
impl Clone for LauncherRefusal
Source§impl Debug for LauncherRefusal
impl Debug for LauncherRefusal
Source§impl Display for LauncherRefusal
impl Display for LauncherRefusal
impl Eq for LauncherRefusal
Source§impl PartialEq for LauncherRefusal
impl PartialEq for LauncherRefusal
impl StructuralPartialEq for LauncherRefusal
Auto Trait Implementations§
impl Freeze for LauncherRefusal
impl RefUnwindSafe for LauncherRefusal
impl Send for LauncherRefusal
impl Sync for LauncherRefusal
impl Unpin for LauncherRefusal
impl UnsafeUnpin for LauncherRefusal
impl UnwindSafe for LauncherRefusal
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.