pub enum PrinterSignal {
FilamentChange,
}Expand description
Something an alert says the printer itself signalled, beside what the detector saw.
Named for what the printer did rather than for the provider that relayed
it, like Detection, so the supervision domain acts on it without knowing
whose alert carried it.
Variants§
FilamentChange
The printer asked for its filament to be changed.
Trait Implementations§
Source§impl Clone for PrinterSignal
impl Clone for PrinterSignal
impl Copy for PrinterSignal
Source§impl Debug for PrinterSignal
impl Debug for PrinterSignal
Source§impl<'de> Deserialize<'de> for PrinterSignal
impl<'de> Deserialize<'de> for PrinterSignal
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PrinterSignal
Source§impl JsonSchema for PrinterSignal
impl JsonSchema for PrinterSignal
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for PrinterSignal
impl PartialEq for PrinterSignal
Source§impl Serialize for PrinterSignal
impl Serialize for PrinterSignal
impl StructuralPartialEq for PrinterSignal
Auto Trait Implementations§
impl Freeze for PrinterSignal
impl RefUnwindSafe for PrinterSignal
impl Send for PrinterSignal
impl Sync for PrinterSignal
impl Unpin for PrinterSignal
impl UnsafeUnpin for PrinterSignal
impl UnwindSafe for PrinterSignal
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