Tokyo - Steve Hansen may have failed in his quest to deliver New Zealand a third consecutive Rugby World Cup, but he will step down as one of the most successful rugby union coaches of all time.

The 60-year-old enjoys a record most coaches, in any sport, could only dream of: ahead of Friday's third-place play-off, he has won 92 out of 106 Tests, with four draws and just 10 losses.

That gives Hansen a 86.7-percent winning ratio and under his tenure the All Blacks lost to just Australia (three), Ireland (two), South Africa (two), England (two) and the British and Irish Lions (one).

A straight-talking coach never afraid to shy away from tough selection calls, Hansen said he was "desperately hurting" after the 19-7 semi-final defeat by England.

"I don't want to compare rugby to death but it's like someone losing a family member to a car crash," he said ahead of the third-place play-off, an unwanted match he noted he had never had to endure before.

"Having been here in 2007, it's disappointing, there's nothing you can say about that," said Hansen, who was Graham Henry's assistant when the All Blacks last tasted World Cup defeat in the 2007 quarter-finals.

However, he was gracious in defeat, acknowledging England had been the better side on the day.

"No loss is easy to take. But there's no shame in getting beaten by them."

England coach Eddie Jones was full of praise for his old adversary, against whom he first coached back in 1997 when he was in charge of the Brumbies and Hansen the Crusaders.

"He's a great coach," Jones said. "He's a great rugby man and will go down as one of the best All Black coaches.

"He's going to be missed from the game, although I know he's coming back here to coach at Toyota, so their cars will be running a bit faster!" Jones added, hinting at Hansen's possible next step.

As a player, one-time policeman Hansen was a centre who played 21 times for Canterbury, going on to become assistant coach to Wayne Smith and Robbie Deans at the Crusaders.

He moved on to Wales to take over from Henry, who returned to New Zealand, and from 2002-2004 oversaw 30 games with Wales with 10 victories and 20 defeats - a far cry from his ratio with the All Blacks.

A shift back to his native New Zealand saw Hansen installed as Henry's assistant, helping to oversee World Cup victory on home soil in 2011, but also involved when France overturned the All Blacks in the 2007 quarter-finals.

Hansen inherited the top job from Henry after the 2011 tournament and there followed a purple patch in the run-in to a second successive World Cup title in England.

In that time, Hansen won four world coach of the year awards (2012, 2013, 2014, 2016), coinciding with six world team of the year awards for the All Blacks between 2012-2017.

Current assistant coach Ian Foster, the front-runner to succeed Hansen, said whoever took over the All Blacks would be under no illusion of the demands of the job.

"It has always been one of the great challenges of sport how you keep growing the group that is performing well," Foster said.

"I guess that's part of the All Blacks story and we feel pressure to keep writing that. We know the expectations and pressure upon us every time we play. It's a matter of getting used to that. We don't always get it right."

Teams:

Wales

15 Hallam Amos, 14 Owen Lane, 13 Jonathan Davies, 12 Owen Watkin, 11 Josh Adams, 10 Rhys Patchell, 9 Tomos Williams, 8 Ross Moriarty, 7 James Davies, 6 Justin Tipuric, 5 Alun Wyn Jones (captain), 4 Adam Beard, 3 Dillon Lewis, 2 Ken Owens, 1 Nicky Smith

Substitutes: 16 Elliot Dee, 17 Rhys Carre, 18 Wyn Jones, 19 Jake Ball, 20 Aaron Shingler, 21 Gareth Davies, 22 Dan Biggar, 23 Hadleigh Parkes

New Zealand

15 Beauden Barrett, 14 Ben Smith, 13 Ryan Crotty, 12 Sonny Bill Williams, 11 Rieko Ioane, 10 Richie Mo'unga, 9 Aaron Smith, 8 Kieran Read (captain), 7 Sam Cane, 6 Shannon Frizell, 5 Scott Barrett, 4 Brodie Retallick, 3 Nepo Laulala, 2 Dane Coles, 1 Joe Moody

Substitutes: 16 Liam Coltman, 17 Atu Moli, 18 Angus Ta'avao, 19 Patrick Tuipulotu, 20 Matt Todd, 21 Brad Weber, 22 Anton Lienert-Brown, 23 Jordie Barrett