\draw[
postaction={
decorate,
decoration={
text along path,
text align=center,
text={xyz}
}
},
postaction={
decorate,
decoration={
markings,
mark=at position 0.95 with {\arrow{>}},
mark=at position 0.9 with {\arrow{>}}
}
}
] (0,0) to[in=80, out=70] (1,0);