pub struct MaintenanceRecordRefusal {
pub record: String,
pub reason: String,
}Expand description
One durable record an explicit maintenance preparation could not carry forward.
A refusal is per-record, never per-realm: the callback keeps the record’s bytes exactly as it found them, carries every record it can, and names this one so the operator learns what did not come across and why. A preparation that answers “this single record is unrepresentable” by aborting the whole domain would cost the operator every other record in the file, which is the failure this type exists to prevent.
Fields§
§record: StringDomain-scoped identity of the record, as its owning store names it.
reason: StringWhy this record could not be carried forward.
Trait Implementations§
Source§impl Clone for MaintenanceRecordRefusal
impl Clone for MaintenanceRecordRefusal
Source§fn clone(&self) -> MaintenanceRecordRefusal
fn clone(&self) -> MaintenanceRecordRefusal
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 MaintenanceRecordRefusal
impl Debug for MaintenanceRecordRefusal
impl Eq for MaintenanceRecordRefusal
Source§impl PartialEq for MaintenanceRecordRefusal
impl PartialEq for MaintenanceRecordRefusal
impl StructuralPartialEq for MaintenanceRecordRefusal
Auto Trait Implementations§
impl Freeze for MaintenanceRecordRefusal
impl RefUnwindSafe for MaintenanceRecordRefusal
impl Send for MaintenanceRecordRefusal
impl Sync for MaintenanceRecordRefusal
impl Unpin for MaintenanceRecordRefusal
impl UnsafeUnpin for MaintenanceRecordRefusal
impl UnwindSafe for MaintenanceRecordRefusal
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