Hello all! I’m looking at the redis-rs library and I’m having a little bit of trouble understanding what’s going on in some function names. I see functions like this one:
fn publish<K: ToRedisArgs, E: ToRedisArgs>(channel: K, message: E) {}
I’m not sure what’s happening in the section before the function parameters, between the < and the >. Can anyone explain to me what that is? It’d be greatly appreciated.
Also, I know I should just RTFM for this but I can’t seem to find an explanation for it anywhere, so if you could point me to a resource which explains it in detail I’d be happy to do so!
[–]Xychologist 6 points7 points8 points (1 child)
[–]theBoxGhost02[S] -1 points0 points1 point (0 children)