Odd that you would pick those two countries as your examples. Both are federations comprised of a number of separate sovereign governments. Or, for that matter, the United States of Mexico shares that trait of its name with America. (An actual counterexample would be France, a unitary state.)
The Constitution of Canada far more clearly lays out what is and is not the role of the Federal and Provincial governments than the US 10'th amendment does for states rights. Canadian provinces, then, are sovereign themselves (tho not independent). The federal government can't decide it doesn't like an Ontario law and block it any more than it could an American law.
The States of the United States then sound far less like united, sovereign states than the members of some federations without United in their names.
Canadian federal government has much more power than US feds can ever imagine to have. The criminal law is entirely up to the Canadian Parliament, and this is highly unlikely to ever fly in US. Further more, the courts have held that Canadian federal government can spend its money any way it likes to influence provincial policy. While the US Supreme court has allowed some percentage of money to be tied to state legislation (viz 21 year drinking age), it has also struck down laws which forces states to take up new spending or lose all the earlier grant from federal government (viz Medicare expansion in Obamacare). Each US state maintains its own Constitution and individual Judiciary, while the Canadian Supreme Court sits on top of any case of controversy in Canada,
US is much more federal than Canada, except may be for legal fiction where each Canadian province has their own relation to Crown. While Canadian federal government cannot outright strike out a state law, they almost never have to, as the power of Canadian federal government are almost endless where it really matter viz. criminal law, tax and spending.
Federal Republic of Germany. Just `Germany' is roughly equivalent to saying just `America'. As an example, education is in the purview of the German states. See https://en.wikipedia.org/wiki/Federalism_in_Germany