Electrical connector adapted to transmit electricity to mating connector without physical contact