Open zecakeh opened 2 months ago
The From implementations are added for convenience.
From
The TryFrom implementations are necessary to access the inner values from the receiving side. Using TryFrom allows to match on the value.
TryFrom
match
Maybe methods like as_date and as_delay could also be implemented to access the inner value.
as_date
as_delay
The
From
implementations are added for convenience.The
TryFrom
implementations are necessary to access the inner values from the receiving side. UsingTryFrom
allows tomatch
on the value.Maybe methods like
as_date
andas_delay
could also be implemented to access the inner value.