No traffic will pass through the port in this state. Once device D stops sending superior BPDUs, the port will be unblocked again and will go, via STP, into states of listening, learning, and eventually transition to forwarding state. Configuration Root guard is configured on a per-port basis. Enabling rootguard may result in a topology change. BPDU guard and root guard are similar, but their impact is different.
BPDU guard disables the port upon BPDU reception if portfast is enabled on the port.
Root guard allows the device to participate in STP as long as the device does not try to become the root. There may be a situation in the network where one bridge does not receive the BPDUs from the root bridge because of unidirectional link failure between the two bridges. With such a failure, the root switch receives frames sent by other switches, but not vice versa. This may lead to a STP loop. Because no BPDUs are received from the root, other switches will believe that they are the root and start to send BPDUs.