1 2 3 4 5 6 7 8 9
#[derive(Copy, Clone, Debug, PartialEq, Eq)] pub enum Error { /// Wrong platform Unsupported, /// Misc ObjC setup failed (should not happen) ObjcError, /// Image is probably invalid/corrupted/wrong format DecodeError, }
1 2 3 4 5 6 7 8 9
#[derive(Copy, Clone, Debug, PartialEq, Eq)] pub enum Error { /// Wrong platform Unsupported, /// Misc ObjC setup failed (should not happen) ObjcError, /// Image is probably invalid/corrupted/wrong format DecodeError, }