pub enum SignedFloor {
Absent,
Valid(String),
Unusable(String),
}Expand description
The upgrade floor a verified manifest carries.
Variants§
Absent
The manifest says nothing about a floor: today’s behaviour (the build’s floor, and the notes’ or the floor file’s).
Valid(String)
A plain X.Y.Z that is not above the release’s own version.
Unusable(String)
The manifest has a floor that can’t be used, and why: treated as absent, and logged by the caller.
Trait Implementations§
Source§impl Clone for SignedFloor
impl Clone for SignedFloor
Source§fn clone(&self) -> SignedFloor
fn clone(&self) -> SignedFloor
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 SignedFloor
impl Debug for SignedFloor
impl Eq for SignedFloor
Source§impl PartialEq for SignedFloor
impl PartialEq for SignedFloor
impl StructuralPartialEq for SignedFloor
Auto Trait Implementations§
impl Freeze for SignedFloor
impl RefUnwindSafe for SignedFloor
impl Send for SignedFloor
impl Sync for SignedFloor
impl Unpin for SignedFloor
impl UnsafeUnpin for SignedFloor
impl UnwindSafe for SignedFloor
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