it's all (one) can do (to do something)

it's all (one) can do (to do something)

Someone only just managed to do something that is exceptionally difficult. I'm so excited—it's all I can do to keep the news a secret! It was all I could do stop myself from arguing with Janet's father at the party.
See also: all, can