#[repr(C)]pub enum upserror {
ups_ok = 0,
ups_unused1 = 1,
ups_not_this = 2,
ups_broken = 3,
ups_unused2 = 4,
ups_identical = 5,
ups_too_big = 6,
ups_unused3 = 7,
ups_unused4 = 8,
ups_shut_up_gcc = 9,
}Variants§
ups_ok = 0
Patch applied or created successfully.
ups_unused1 = 1
Unused, equivalent to bps_to_output.
ups_not_this = 2
Not the intended input file for this patch.
ups_broken = 3
Not a UPS patch, or it’s malformed somehow.
ups_unused2 = 4
Unused, equivalentto bps_io.
ups_identical = 5
The input files are identical.
ups_too_big = 6
Somehow, you’re asking for something a size_t can’t represent.
ups_unused3 = 7
Unused, equivalent to bps_out_of_mem.
ups_unused4 = 8
Unused, equivalent to bps_canceled.
ups_shut_up_gcc = 9
Unused, just kill GCC warning.
Trait Implementations§
impl StructuralPartialEq for upserror
Auto Trait Implementations§
impl Freeze for upserror
impl RefUnwindSafe for upserror
impl Send for upserror
impl Sync for upserror
impl Unpin for upserror
impl UnwindSafe for upserror
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