There will usually be some kind of voltage slope rather than a sharp transition between 0 and 1 or 1 and 0 (although we are idealizing it as an abrupt transition).