pub enum ControlAssessment {
Allowed,
RequiresDeveloperMode,
NewerFirmwareUntested,
Refused(ControlRefusal),
}Expand description
A soft, agent-facing verdict on whether control is expected to work. Unlike
Capabilities::control_permission, firmware newer than known is a warning,
not a refusal (see Capabilities::control_assessment).
Variants§
Allowed
Control is permitted (ACS not enforced).
RequiresDeveloperMode
Permitted, provided the printer is in LAN-only + Developer Mode.
NewerFirmwareUntested
Firmware is newer than the registry knows; control is very likely fine — proceed, but warn that it’s untested against this firmware.
Refused(ControlRefusal)
Control is refused for a hard reason (unknown model, no control boundary, or Developer Mode unavailable).
Trait Implementations§
Source§impl Clone for ControlAssessment
impl Clone for ControlAssessment
Source§fn clone(&self) -> ControlAssessment
fn clone(&self) -> ControlAssessment
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 moreimpl Copy for ControlAssessment
Source§impl Debug for ControlAssessment
impl Debug for ControlAssessment
impl Eq for ControlAssessment
Source§impl PartialEq for ControlAssessment
impl PartialEq for ControlAssessment
Source§fn eq(&self, other: &ControlAssessment) -> bool
fn eq(&self, other: &ControlAssessment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ControlAssessment
Auto Trait Implementations§
impl Freeze for ControlAssessment
impl RefUnwindSafe for ControlAssessment
impl Send for ControlAssessment
impl Sync for ControlAssessment
impl Unpin for ControlAssessment
impl UnsafeUnpin for ControlAssessment
impl UnwindSafe for ControlAssessment
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.