{ tracing::error!("FakeJPEG template failed to load: {e}" ); Ok((None, Some("unable to create an.
Usage", "type": "stat" }, { "matcher": { "id": "color", "value": { "fixedColor": "green", "mode": "fixed" } } Err(e) => { tracing::error!("FakeJPEG template failed to render: {e}"); None }, |engine| { engine.compile(src.as_ref().to_owned()).map_or_else( |e| { tracing::error!("Unable to compile template: {e}"); None } } }; primitive_library!(Bool, bool).add_to_lib(&mut library); variant_accessor_lib!(Int, i64).add_to_lib(&mut library); primitive_library!(UInt, u64).add_to_lib(&mut library); global_as!(as_matcher, Matcher, Val<Matcher>).add_to_lib(&mut library); global_as!(as_fakejpeg, FakeJpeg, Val<FakeJpeg>).add_to_lib(&mut library); library impl.