Deadly poison, but a cobra does not appear to me to be half as quick as a rattler or a cottonmouth.
At least a rattler will play defense. A cottonmouth is an asshole and will want to f*** with you.
She’s fortunate it wasn’t a “spitting” cobra .... they can spit 5-8 feet & aim for the face/eyes.
https://www.nationalgeographic.com/animals/2005/02/news-cobras-venom-eyes-perfect-aim/
My Black Mamba can run circles around those slow pokes.