#[repr(C)]pub struct PixelflowStatus {
pub size: u32,
pub version: u32,
pub status_code: i32,
pub category: PixelflowErrorCategory,
pub error_code: PixelflowStringView,
pub message: PixelflowStringView,
pub reserved: [usize; 4],
}Expand description
Structured ABI status returned by plugin and host callbacks.
Fields§
§size: u32Struct size in bytes.
version: u32ABI version used by this struct.
status_code: i32Zero means success; non-zero means failure.
category: PixelflowErrorCategoryStructured error category.
error_code: PixelflowStringViewStable dotted error code.
message: PixelflowStringViewHuman-readable message.
reserved: [usize; 4]Reserved fields for future compatible extension.
Implementations§
Trait Implementations§
Source§impl Clone for PixelflowStatus
impl Clone for PixelflowStatus
Source§fn clone(&self) -> PixelflowStatus
fn clone(&self) -> PixelflowStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PixelflowStatus
impl Debug for PixelflowStatus
Source§impl PartialEq for PixelflowStatus
impl PartialEq for PixelflowStatus
Source§fn eq(&self, other: &PixelflowStatus) -> bool
fn eq(&self, other: &PixelflowStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PixelflowStatus
impl Eq for PixelflowStatus
impl StructuralPartialEq for PixelflowStatus
Auto Trait Implementations§
impl Freeze for PixelflowStatus
impl RefUnwindSafe for PixelflowStatus
impl !Send for PixelflowStatus
impl !Sync for PixelflowStatus
impl Unpin for PixelflowStatus
impl UnsafeUnpin for PixelflowStatus
impl UnwindSafe for PixelflowStatus
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