"A vaccine that prevents infection entirely provides indirect protection to others. If I can't get infected, I can't infect you. But it is possible to have a vaccine that prevents disease but individuals can still be infectious." (1)
In that case, those at risk are only protected when they receive a vaccine, but still aren't when just those who they are in contact with received it.
"Most Phase 3 trials are measuring efficacy to prevent disease as the primary analysis" (2)
Not infection.
The whole thread with more details, already written in September, before both announcements:
https://twitter.com/nataliexdean/status/1310613702476017666
by: "Natalie E. Dean, PhD, Assistant Professor of Biostatistics at @UF specializing in emerging infectious diseases and vaccine study design. @HarvardBiostats PhD." (3)
1) https://twitter.com/nataliexdean/status/1310613711808278528
2) https://twitter.com/nataliexdean/status/1310613708557692928