Question about Trait Object lifetime

The short way to express the meaning of T : 'a (such as in T = dyn ... + 'a), is that:

A type T meets the : 'a bound if any instance of type T can be held / owned arbitrarily long within that lifetime 'a.

This comes up in practice with the case 'a = 'static (the infinitely long lifetime):

See also: Why does this "impl + 'static" code compile? - #4 by cuviper

1 Like