Mending is an enchantment that helps make your items durable. You can apply this enchantment on your trident as well as other items.