In some cases in Canada such as you have a traffic ticket and you get your notice of the day of trial with unreasonable delay, you might can find something from “Section 11(b) of the Charter of Rights”.
Here is the content of Section 11(b) of the Charter of Rights.
Also, you can search other people’s experience how they use the Section 11(b), for example, here is an article.
Here is a Chinese article
About the process of how to handle, you maybe read “Ontario Court of Justice Criminal Proceedings Rules, SI/92-99” and look at No. 27
I will collect more information about this 11(b).