#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub enum PageMoveError
{
TargetNodeNotAllowed,
OneOrMoreTargetNodesIsNotOnline,
ProcessDoesNotExist(ProcessIdentifier),
CallerNeedsToHaveSysNiceCapabilityForMoveAll,
CallerNeedsToHaveSysNiceCapabilityToMoveAnotherPagesOfAnotherProcess(ProcessIdentifier),
}
impl Display for PageMoveError
{
#[inline(always)]
fn fmt(&self, f: &mut Formatter) -> fmt::Result
{
<PageMoveError as Debug>::fmt(self, f)
}
}
impl error::Error for PageMoveError
{
#[inline(always)]
fn source(&self) -> Option<&(dyn error::Error + 'static)>
{
None
}
}