#[repr(C)]pub enum bpserror {
bps_ok = 0,
bps_to_output = 1,
bps_not_this = 2,
bps_broken = 3,
bps_io = 4,
bps_identical = 5,
bps_too_big = 6,
bps_out_of_mem = 7,
bps_canceled = 8,
bps_shut_up_gcc = 9,
}Variants§
bps_ok = 0
Patch applied or created successfully.
bps_to_output = 1
You attempted to apply a patch to its output.
bps_not_this = 2
This is not the intended input file for this patch.
bps_broken = 3
This is not a BPS patch, or it’s malformed somehow.
bps_io = 4
The patch could not be read.
bps_identical = 5
The input files are identical.
bps_too_big = 6
Somehow, you’re asking for something a size_t can’t represent.
bps_out_of_mem = 7
Memory allocation failure.
bps_canceled = 8
Patch creation was canceled.
bps_shut_up_gcc = 9
Unused, just kill GCC warning.
Trait Implementations§
impl StructuralPartialEq for bpserror
Auto Trait Implementations§
impl Freeze for bpserror
impl RefUnwindSafe for bpserror
impl Send for bpserror
impl Sync for bpserror
impl Unpin for bpserror
impl UnwindSafe for bpserror
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