Closed elfenpiff closed 3 months ago
Instead of writing:
NodeBuilder::new().name(&NodeName::new("whatever")?);
we could write
NodeBuilder::new().name("whatever".try_into()?);
which is much cleaner.
Implement TryInto for NodeName and ServiceName
TryInto
NodeName
ServiceName
(Code) Example Of Cumbersome API
Instead of writing:
we could write
which is much cleaner.
Improvement Suggestion
Implement
TryInto
forNodeName
andServiceName