Send
Um tipo
T
éSend
se for seguro mover um valorT
para outro thread.
O efeito de mover a propriedade (ownership) para outro thread Ă© que os destructors serĂŁo executados nessa thread. EntĂŁo a questĂŁo Ă©: quando vocĂȘ pode alocar um valor em um thread e desalocĂĄ-lo em outro?
As an example, a connection to the SQLite library must only be accessed from a single thread.