pub enum Unchanged {
NotFound(NotFound),
PermissionDenied,
}
Expand description
The reason the priority of a process couldn’t be set.
Variants§
NotFound(NotFound)
PermissionDenied
The Process
handle didn’t have the suitable permissions to
set priority.
Each platform has a set of rules around who can set whose priority, and you should check the documentation for your platform to make sure you are setting up the right permissions. If the details of this error would be useful for you, do file an issue about your use case! 😁
Trait Implementations§
Source§impl Error for Unchanged
impl Error for Unchanged
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()
Auto Trait Implementations§
impl Freeze for Unchanged
impl RefUnwindSafe for Unchanged
impl Send for Unchanged
impl Sync for Unchanged
impl Unpin for Unchanged
impl UnwindSafe for Unchanged
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