This question has been answered pretty thoroughly, but since it is my area of expertise, I'll throw some stuff out. (I own an autobody & collision repair shop)
Yes, certain types of primers provide rust protection, and other types do not.
Most primers you buy in a rattle can, such as Rustoleum, duplicolor, Case-IH, are nothing more than enamel finish coat, with flattening agent in it. The flattening agent takes the shine from the paint, but it is the same as the regular enamel paints they sell. This is true of Laquers too. Laquer primer is nothing more than rapidly drying laquer paint without gloss additive.
I have read plenty of misconceptions on the internet about this stuff, even on well known DYI autobody forums.
Now, for the more advanced primers you'd buy in automotive grade applications...
in order:
etching primer - used primarily as a tie coat to link bare (unsanded) steel to topcoat or build primer. This doesn't provide much of a rust inhibitor, but will prevent flash rust from humidity.
vinyl wash primer - primer developed for military and marine applications to seal out moisture from steel. This type of primer is extremely durable and water proof. The drawbacks are it's poor adhesion to unsanded steel, and it's lack of compatibility when used with an underlying tie coat.
epoxy primer - The most commonly used primer over bare steel. This primer provides very good protection from rust and is very durable. The drawbacks are, it no longer contains lead, so you must use an etching primer tie coat over unsanded bare steel, and it is very hard to sand and doesn't "build" very well.
2K Urethane build primer - This type of primer contains large amounts of solids to lay down thick coats, and is easy to sand. It is not intended to be placed directly on bare steel, and not only is it not a good protector from rust, but it also absorbs water, due to its high solids content. The most common solid in these types of primers is talc. This type of primer should be used overtop of an epoxy primer, or a vinyl wash primer, and then, before applying finish coat to this primer, you should use a sealer.
DTM primers - (Direct-To-Metal) primers are relatively new. They are corrosion resistant urethane primers that can be applied directly to bare sanded steel, and are high build, and do not require a sealer coat. They are a fast curing urethane and are ready to sand within 1 hour. These types of primers do not protect as well as others against corrosion but will allow for collision work to be done rapidly, and cost effective. The other drawback to this type of primer is the cost. I just bought a gallon of PPG NCP-271 and the hardener, and it was around $180 for the package. $180 for 1.33 gallons of sprayable material. That is a little more than $1 per ounce.
epoxy primer/sealer - this type of primer is used after build primer immediately before topcoating to seal moisture from the build primer. most topcoats are not very corrosion resistant because they are porous and allow oxygen to the metal. This extra step insures that moisture will not delaminate body fillers, or create lifting of the build primer, or surface oxidation. Most of these primers are the same as regular epoxy primers, except the TDS will have a different mixing ratio for sealer coat, so that the primer will be thinner and easier to lay down.
That's about all high end automotive and profession primers. There are a few more obscure ones, and ones that don't fit a restoration application, so I left them out. All of the primers I have listed are 2 part catylized products, and require hardeners.
IF anyone wants a recommendation for specific products or a system to use on your cub/implements, let me know. I can set something up and detail how to put it down.