#[non_exhaustive]pub enum KernelResult {
Ok,
NotMaster,
Rejected,
}Expand description
What the kernel said about a commit.
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.
Ok
Applied. For a real commit this means a flip is on its way.
NotMaster
Rejected because the caller is not DRM master.
The only failure that suspends the scene.
Rejected
Rejected for any other reason.
The frame is dropped and heals on the next one. The scene keeps running.
Trait Implementations§
Source§impl Clone for KernelResult
impl Clone for KernelResult
impl Copy for KernelResult
Source§impl Debug for KernelResult
impl Debug for KernelResult
impl Eq for KernelResult
Source§impl PartialEq for KernelResult
impl PartialEq for KernelResult
impl StructuralPartialEq for KernelResult
Auto Trait Implementations§
impl Freeze for KernelResult
impl RefUnwindSafe for KernelResult
impl Send for KernelResult
impl Sync for KernelResult
impl Unpin for KernelResult
impl UnsafeUnpin for KernelResult
impl UnwindSafe for KernelResult
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