Find the tree weight of all the edges of a graph with this function?

How can i find the weigth of all the edge of a graph with this function:

edgeWeight[g_, e_] := WeightedAdjacencyMatrix [ g ] [ [ e [ [ 1 ]], e[ [ 2 ] ] ] ]