Bearing material or solid lubricant