var searchIndex = {}; searchIndex["postgres"] = {"doc":"Rust-Postgres is a pure-Rust frontend for the popular PostgreSQL database. It\nexposes a high level interface in the vein of JDBC or Go's `database/sql`\npackage.","items":[[3,"DbError","postgres","A Postgres error or notice.",null,null],[3,"Slice","","An adapter type mapping slices to Postgres arrays.",null,null],[12,"0","","",0,null],[3,"UserInfo","","Authentication information.",null,null],[12,"user","","The username",1,null],[12,"password","","An optional password",1,null],[3,"ConnectParams","","Information necessary to open a new connection to a Postgres server.",null,null],[12,"target","","The target server",2,null],[12,"port","","The target port.",2,null],[12,"user","","The user to login as.",2,null],[12,"database","","The database to connect to. Defaults the value of `user`.",2,null],[12,"options","","Runtime parameters to be passed to the Postgres backend.",2,null],[3,"LoggingNoticeHandler","","A notice handler which logs at the `info` level.",null,null],[3,"Notification","","An asynchronous notification.",null,null],[12,"pid","","The process ID of the notifying backend process.",3,null],[12,"channel","","The name of the channel that the notify has been raised on.",3,null],[12,"payload","","The "payload" string passed from the notifying process.",3,null],[3,"Notifications","","An iterator over asynchronous notifications.",null,null],[3,"CancelData","","Contains information necessary to cancel queries for a session.",null,null],[12,"process_id","","The process ID of the session.",4,null],[12,"secret_key","","The secret key for the session.",4,null],[3,"Connection","","A connection to a Postgres database.",null,null],[3,"Transaction","","Represents a transaction on a database connection.",null,null],[3,"Statement","","A prepared statement.",null,null],[3,"Column","","Information about a column of the result of a query.",null,null],[3,"Rows","","The resulting rows of a query.",null,null],[3,"RowsIter","","An iterator over `Row`s.",null,null],[3,"RowsIntoIter","","An owning iterator over `Row`s.",null,null],[3,"Row","","A single result row of a query.",null,null],[3,"LazyRows","","A lazily-loaded iterator over the resulting rows of a query.",null,null],[3,"CopyInStatement","","A prepared `COPY FROM STDIN` statement.",null,null],[3,"VecStreamIterator","","An adapter type implementing `StreamIterator` for a `Vec<Box<ToSql>>`.",null,null],[4,"Error","","An error encountered when communicating with the Postgres server.",null,null],[13,"DbError","","An error reported by the Postgres server.",5,null],[13,"IoError","","An error communicating with the Postgres server.",5,null],[13,"StreamDesynchronized","","The communication channel with the Postgres server has desynchronized\ndue to an earlier communications error.",5,null],[13,"WrongType","","An attempt was made to convert between incompatible Rust and Postgres\ntypes.",5,null],[13,"InvalidColumn","","An attempt was made to read from a column that does not exist.",5,null],[13,"WasNull","","A value was NULL but converted to a non-nullable Rust type.",5,null],[13,"BadResponse","","The server returned an unexpected response.",5,null],[4,"ConnectError","","Reasons a new Postgres connection could fail.",null,null],[13,"InvalidUrl","","The provided URL could not be parsed.",6,null],[13,"MissingUser","","The URL was missing a user.",6,null],[13,"DbError","","An error from the Postgres server itself.",6,null],[13,"MissingPassword","","A password was required but not provided in the URL.",6,null],[13,"UnsupportedAuthentication","","The Postgres server requested an authentication method not supported\nby the driver.",6,null],[13,"NoSslSupport","","The Postgres server does not support SSL encryption.",6,null],[13,"SslError","","There was an error initializing the SSL session.",6,null],[13,"IoError","","There was an error communicating with the server.",6,null],[13,"BadResponse","","The server sent an unexpected response.",6,null],[4,"SqlState","","SQLSTATE error codes",null,null],[13,"SuccessfulCompletion","","`00000`",7,null],[13,"Warning","","`01000`",7,null],[13,"DynamicResultSetsReturned","","`0100C`",7,null],[13,"ImplicitZeroBitPadding","","`01008`",7,null],[13,"NullValueEliminatedInSetFunction","","`01003`",7,null],[13,"PrivilegeNotGranted","","`01007`",7,null],[13,"PrivilegeNotRevoked","","`01006`",7,null],[13,"StringDataRightTruncationWarning","","`01004`",7,null],[13,"DeprecatedFeature","","`01P01`",7,null],[13,"NoData","","`02000`",7,null],[13,"NoAdditionalDynamicResultSetsReturned","","`02001`",7,null],[13,"SqlStatementNotYetComplete","","`03000`",7,null],[13,"ConnectionException","","`08000`",7,null],[13,"ConnectionDoesNotExist","","`08003`",7,null],[13,"ConnectionFailure","","`08006`",7,null],[13,"SqlclientUnableToEstablishSqlconnection","","`08001`",7,null],[13,"SqlserverRejectedEstablishmentOfSqlconnection","","`08004`",7,null],[13,"TransactionResolutionUnknown","","`08007`",7,null],[13,"ProtocolViolation","","`08P01`",7,null],[13,"TriggeredActionException","","`09000`",7,null],[13,"FeatureNotSupported","","`0A000`",7,null],[13,"InvalidTransactionInitiation","","`0B000`",7,null],[13,"LocatorException","","`0F000`",7,null],[13,"InvalidLocatorException","","`0F001`",7,null],[13,"InvalidGrantor","","`0L000`",7,null],[13,"InvalidGrantOperation","","`0LP01`",7,null],[13,"InvalidRoleSpecification","","`0P000`",7,null],[13,"DiagnosticsException","","`0Z000`",7,null],[13,"StackedDiagnosticsAccessedWithoutActiveHandler","","`0Z002`",7,null],[13,"CaseNotFound","","`20000`",7,null],[13,"CardinalityViolation","","`21000`",7,null],[13,"DataException","","`22000`",7,null],[13,"ArraySubscriptError","","`2202E`",7,null],[13,"CharacterNotInRepertoire","","`22021`",7,null],[13,"DatetimeFieldOverflow","","`22008`",7,null],[13,"DivisionByZero","","`22012`",7,null],[13,"ErrorInAssignment","","`22005`",7,null],[13,"EscapeCharacterConflict","","`2200B`",7,null],[13,"IndicatorOverflow","","`22022`",7,null],[13,"IntervalFieldOverflow","","`22015`",7,null],[13,"InvalidArgumentForLogarithm","","`2201E`",7,null],[13,"InvalidArgumentForNtileFunction","","`22014`",7,null],[13,"InvalidArgumentForNthValueFunction","","`22016`",7,null],[13,"InvalidArgumentForPowerFunction","","`2201F`",7,null],[13,"InvalidArgumentForWidthBucketFunction","","`2201G`",7,null],[13,"InvalidCharacterValueForCast","","`22018`",7,null],[13,"InvalidDatetimeFormat","","`22007`",7,null],[13,"InvalidEscapeCharacter","","`22019`",7,null],[13,"InvalidEscapeOctet","","`2200D`",7,null],[13,"InvalidEscapeSequence","","`22025`",7,null],[13,"NonstandardUseOfEscapeCharacter","","`22P06`",7,null],[13,"InvalidIndicatorParameterValue","","`22010`",7,null],[13,"InvalidParameterValue","","`22023`",7,null],[13,"InvalidRegularExpression","","`2201B`",7,null],[13,"InvalidRowCountInLimitClause","","`2201W`",7,null],[13,"InvalidRowCountInResultOffsetClause","","`2201X`",7,null],[13,"InvalidTimeZoneDisplacementValue","","`22009`",7,null],[13,"InvalidUseOfEscapeCharacter","","`2200C`",7,null],[13,"MostSpecificTypeMismatch","","`2200G`",7,null],[13,"NullValueNotAllowedData","","`22004`",7,null],[13,"NullValueNoIndicatorParameter","","`22002`",7,null],[13,"NumericValueOutOfRange","","`22003`",7,null],[13,"StringDataLengthMismatch","","`22026`",7,null],[13,"StringDataRightTruncationException","","`22001`",7,null],[13,"SubstringError","","`22011`",7,null],[13,"TrimError","","`22027`",7,null],[13,"UnterminatedCString","","`22024`",7,null],[13,"ZeroLengthCharacterString","","`2200F`",7,null],[13,"FloatingPointException","","`22P01`",7,null],[13,"InvalidTextRepresentation","","`22P02`",7,null],[13,"InvalidBinaryRepresentation","","`22P03`",7,null],[13,"BadCopyFileFormat","","`22P04`",7,null],[13,"UntranslatableCharacter","","`22P05`",7,null],[13,"NotAnXmlDocument","","`2200L`",7,null],[13,"InvalidXmlDocument","","`2200M`",7,null],[13,"InvalidXmlContent","","`2200N`",7,null],[13,"InvalidXmlComment","","`2200S`",7,null],[13,"InvalidXmlProcessingInstruction","","`2200T`",7,null],[13,"IntegrityConstraintViolation","","`23000`",7,null],[13,"RestrictViolation","","`23001`",7,null],[13,"NotNullViolation","","`23502`",7,null],[13,"ForeignKeyViolation","","`23503`",7,null],[13,"UniqueViolation","","`23505`",7,null],[13,"CheckViolation","","`23514`",7,null],[13,"ExclusionViolation","","`32P01`",7,null],[13,"InvalidCursorState","","`24000`",7,null],[13,"InvalidTransactionState","","`25000`",7,null],[13,"ActiveSqlTransaction","","`25001`",7,null],[13,"BranchTransactionAlreadyActive","","`25002`",7,null],[13,"HeldCursorRequiresSameIsolationLevel","","`25008`",7,null],[13,"InappropriateAccessModeForBranchTransaction","","`25003`",7,null],[13,"InappropriateIsolationLevelForBranchTransaction","","`25004`",7,null],[13,"NoActiveSqlTransactionForBranchTransaction","","`25005`",7,null],[13,"ReadOnlySqlTransaction","","`25006`",7,null],[13,"SchemaAndDataStatementMixingNotSupported","","`25007`",7,null],[13,"NoActiveSqlTransaction","","`25P01`",7,null],[13,"InFailedSqlTransaction","","`25P02`",7,null],[13,"InvalidSqlStatementName","","`26000`",7,null],[13,"TriggeredDataChangeViolation","","`27000`",7,null],[13,"InvalidAuthorizationSpecification","","`28000`",7,null],[13,"InvalidPassword","","`28P01`",7,null],[13,"DependentPrivilegeDescriptorsStillExist","","`2B000`",7,null],[13,"DependentObjectsStillExist","","`2BP01`",7,null],[13,"InvalidTransactionTermination","","`2D000`",7,null],[13,"SqlRoutineException","","`2F000`",7,null],[13,"FunctionExecutedNoReturnStatement","","`2F005`",7,null],[13,"ModifyingSqlDataNotPermittedSqlRoutine","","`2F002`",7,null],[13,"ProhibitedSqlStatementAttemptedSqlRoutine","","`2F003`",7,null],[13,"ReadingSqlDataNotPermittedSqlRoutine","","`2F004`",7,null],[13,"InvalidCursorName","","`34000`",7,null],[13,"ExternalRoutineException","","`38000`",7,null],[13,"ContainingSqlNotPermitted","","`38001`",7,null],[13,"ModifyingSqlDataNotPermittedExternalRoutine","","`38002`",7,null],[13,"ProhibitedSqlStatementAttemptedExternalRoutine","","`38003`",7,null],[13,"ReadingSqlDataNotPermittedExternalRoutine","","`38004`",7,null],[13,"ExternalRoutineInvocationException","","`39000`",7,null],[13,"InvalidSqlstateReturned","","`39001`",7,null],[13,"NullValueNotAllowedExternalRoutine","","`39004`",7,null],[13,"TriggerProtocolViolated","","`39P01`",7,null],[13,"SrfProtocolViolated","","`39P02`",7,null],[13,"SavepointException","","`3B000`",7,null],[13,"InvalidSavepointException","","`3B001`",7,null],[13,"InvalidCatalogName","","`3D000`",7,null],[13,"InvalidSchemaName","","`3F000`",7,null],[13,"TransactionRollback","","`40000`",7,null],[13,"TransactionIntegrityConstraintViolation","","`40002`",7,null],[13,"SerializationFailure","","`40001`",7,null],[13,"StatementCompletionUnknown","","`40003`",7,null],[13,"DeadlockDetected","","`40P01`",7,null],[13,"SyntaxErrorOrAccessRuleViolation","","`42000`",7,null],[13,"SyntaxError","","`42601`",7,null],[13,"InsufficientPrivilege","","`42501`",7,null],[13,"CannotCoerce","","`42846`",7,null],[13,"GroupingError","","`42803`",7,null],[13,"WindowingError","","`42P20`",7,null],[13,"InvalidRecursion","","`42P19`",7,null],[13,"InvalidForeignKey","","`42830`",7,null],[13,"InvalidName","","`42602`",7,null],[13,"NameTooLong","","`42622`",7,null],[13,"ReservedName","","`42939`",7,null],[13,"DatatypeMismatch","","`42804`",7,null],[13,"IndeterminateDatatype","","`42P18`",7,null],[13,"CollationMismatch","","`42P21`",7,null],[13,"IndeterminateCollation","","`42P22`",7,null],[13,"WrongObjectType","","`42809`",7,null],[13,"UndefinedColumn","","`42703`",7,null],[13,"UndefinedFunction","","`42883`",7,null],[13,"UndefinedTable","","`42P01`",7,null],[13,"UndefinedParameter","","`42P02`",7,null],[13,"UndefinedObject","","`42704`",7,null],[13,"DuplicateColumn","","`42701`",7,null],[13,"DuplicateCursor","","`42P03`",7,null],[13,"DuplicateDatabase","","`42P04`",7,null],[13,"DuplicateFunction","","`42723`",7,null],[13,"DuplicatePreparedStatement","","`42P05`",7,null],[13,"DuplicateSchema","","`42P06`",7,null],[13,"DuplicateTable","","`42P07`",7,null],[13,"DuplicateAliaas","","`42712`",7,null],[13,"DuplicateObject","","`42710`",7,null],[13,"AmbiguousColumn","","`42702`",7,null],[13,"AmbiguousFunction","","`42725`",7,null],[13,"AmbiguousParameter","","`42P08`",7,null],[13,"AmbiguousAlias","","`42P09`",7,null],[13,"InvalidColumnReference","","`42P10`",7,null],[13,"InvalidColumnDefinition","","`42611`",7,null],[13,"InvalidCursorDefinition","","`42P11`",7,null],[13,"InvalidDatabaseDefinition","","`42P12`",7,null],[13,"InvalidFunctionDefinition","","`42P13`",7,null],[13,"InvalidPreparedStatementDefinition","","`42P14`",7,null],[13,"InvalidSchemaDefinition","","`42P15`",7,null],[13,"InvalidTableDefinition","","`42P16`",7,null],[13,"InvalidObjectDefinition","","`42P17`",7,null],[13,"WithCheckOptionViolation","","`44000`",7,null],[13,"InsufficientResources","","`53000`",7,null],[13,"DiskFull","","`53100`",7,null],[13,"OutOfMemory","","`53200`",7,null],[13,"TooManyConnections","","`53300`",7,null],[13,"ConfigurationLimitExceeded","","`53400`",7,null],[13,"ProgramLimitExceeded","","`54000`",7,null],[13,"StatementTooComplex","","`54001`",7,null],[13,"TooManyColumns","","`54011`",7,null],[13,"TooManyArguments","","`54023`",7,null],[13,"ObjectNotInPrerequisiteState","","`55000`",7,null],[13,"ObjectInUse","","`55006`",7,null],[13,"CantChangeRuntimeParam","","`55P02`",7,null],[13,"LockNotAvailable","","`55P03`",7,null],[13,"OperatorIntervention","","`57000`",7,null],[13,"QueryCanceled","","`57014`",7,null],[13,"AdminShutdown","","`57P01`",7,null],[13,"CrashShutdown","","`57P02`",7,null],[13,"CannotConnectNow","","`57P03`",7,null],[13,"DatabaseDropped","","`57P04`",7,null],[13,"SystemError","","`58000`",7,null],[13,"IoError","","`58030`",7,null],[13,"UndefinedFile","","`58P01`",7,null],[13,"DuplicateFile","","`58P02`",7,null],[13,"ConfigFileError","","`F0000`",7,null],[13,"LockFileExists","","`F0001`",7,null],[13,"FdwError","","`HV000`",7,null],[13,"FdwColumnNameNotFound","","`HV005`",7,null],[13,"FdwDynamicParameterValueNeeded","","`HV002`",7,null],[13,"FdwFunctionSequenceError","","`HV010`",7,null],[13,"FdwInconsistentDescriptorInformation","","`HV021`",7,null],[13,"FdwInvalidAttributeValue","","`HV024`",7,null],[13,"FdwInvalidColumnName","","`HV007`",7,null],[13,"FdwInvalidColumnNumber","","`HV008`",7,null],[13,"FdwInvalidDataType","","`HV004`",7,null],[13,"FdwInvalidDataTypeDescriptors","","`HV006`",7,null],[13,"FdwInvalidDescriptorFieldIdentifier","","`HV091`",7,null],[13,"FdwInvalidHandle","","`HV00B`",7,null],[13,"FdwInvalidOptionIndex","","`HV00C`",7,null],[13,"FdwInvalidOptionName","","`HV00D`",7,null],[13,"FdwInvalidStringLengthOrBufferLength","","`HV090`",7,null],[13,"FdwInvalidStringFormat","","`HV00A`",7,null],[13,"FdwInvalidUseOfNullPointer","","`HV009`",7,null],[13,"FdwTooManyHandles","","`HV014`",7,null],[13,"FdwOutOfMemory","","`HV001`",7,null],[13,"FdwNoSchemas","","`HV00P`",7,null],[13,"FdwOptionNameNotFound","","`HV00J`",7,null],[13,"FdwReplyHandle","","`HV00K`",7,null],[13,"FdwSchemaNotFound","","`HV00Q`",7,null],[13,"FdwTableNotFound","","`HV00R`",7,null],[13,"FdwUnableToCreateExcecution","","`HV00L`",7,null],[13,"FdwUnableToCreateReply","","`HV00M`",7,null],[13,"FdwUnableToEstablishConnection","","`HV00N`",7,null],[13,"PlpgsqlError","","`P0000`",7,null],[13,"RaiseException","","`P0001`",7,null],[13,"NoDataFound","","`P0002`",7,null],[13,"TooManyRows","","`P0003`",7,null],[13,"InternalError","","`XX000`",7,null],[13,"DataCorrupted","","`XX001`",7,null],[13,"IndexCorrupted","","`XX002`",7,null],[13,"Unknown","","An unknown code",7,null],[4,"ErrorPosition","","Represents the position of an error in a query.",null,null],[13,"Normal","","A position in the original query.",8,null],[13,"Internal","","A position in an internally generated query.",8,null],[12,"position","postgres::ErrorPosition","The byte position.",8,null],[12,"query","","A query generated by the Postgres server.",8,null],[4,"Type","postgres","A Postgres type.",null,null],[13,"Bool","","BOOL - boolean, 'true'/'false'",9,null],[13,"Bytea","","BYTEA - variable-length string, binary values escaped",9,null],[13,"Char","",""char" - single character",9,null],[13,"Name","","NAME - 63-byte type for storing system identifiers",9,null],[13,"Int8","","INT8/BIGINT - ~18 digit integer, 8-byte storage",9,null],[13,"Int2","","INT2/SMALLINT - -32 thousand to 32 thousand, 2-byte storage",9,null],[13,"Int2Vector","","INT2VECTOR - array of int2, used in system tables",9,null],[13,"Int4","","INT4/INT - -2 billion to 2 billion integer, 4-byte storage",9,null],[13,"Regproc","","REGPROC - registered procedure",9,null],[13,"Text","","TEXT - variable-length string, no limit specified",9,null],[13,"Oid","","OID - object identifier(oid), maximum 4 billion",9,null],[13,"Tid","","TID - (block, offset), physical location of tuple",9,null],[13,"Xid","","XID - transaction id",9,null],[13,"Cid","","CID - command identifier type, sequence in transaction id",9,null],[13,"OidVector","","OIDVECTOR - array of oids, used in system tables",9,null],[13,"PgType","","PG_TYPE",9,null],[13,"PgAttribute","","PG_ATTRIBUTE",9,null],[13,"PgProc","","PG_PROC",9,null],[13,"PgClass","","PG_CLASS",9,null],[13,"Json","","JSON",9,null],[13,"Xml","","XML - XML content",9,null],[13,"XmlArray","","XML[]",9,null],[13,"PgNodeTree","","PG_NODE_TREE - string representing an internal node tree",9,null],[13,"JsonArray","","JSON[]",9,null],[13,"Smgr","","SMGR - storage manager",9,null],[13,"Point","","POINT - geometric point '(x, y)'",9,null],[13,"Lseg","","LSEG - geometric line segment '(pt1,pt2)'",9,null],[13,"Path","","PATH - geometric path '(pt1,...)'",9,null],[13,"Box","","BOX - geometric box '(lower left,upper right)'",9,null],[13,"Polygon","","POLYGON - geometric polygon '(pt1,...)'",9,null],[13,"Line","","LINE - geometric line",9,null],[13,"LineArray","","LINE[]",9,null],[13,"Cidr","","CIDR - network IP address/netmask, network address",9,null],[13,"CidrArray","","CIDR[]",9,null],[13,"Float4","","FLOAT4/REAL - single-precision floating point number, 4-byte storage",9,null],[13,"Float8","","FLOAT8/DOUBLE PRECISION - double-precision floating point number, 8-byte storage",9,null],[13,"Abstime","","ABSTIME - absolute, limited-range date and time (Unix system time)",9,null],[13,"Reltime","","RELTIME - relative, limited-range date and time (Unix delta time)",9,null],[13,"Tinterval","","TINTERVAL - (abstime,abstime), time interval",9,null],[13,"Unknown","","UNKNOWN",9,null],[13,"Circle","","CIRCLE - geometric circle '(center,radius)'",9,null],[13,"CircleArray","","CIRCLE[]",9,null],[13,"Money","","MONEY - monetary amounts, $d,ddd.cc",9,null],[13,"MoneyArray","","MONEY[]",9,null],[13,"Macaddr","","MACADDR - XX:XX:XX:XX:XX:XX, MAC address",9,null],[13,"Inet","","INET - IP address/netmask, host address, netmask optional",9,null],[13,"BoolArray","","BOOL[]",9,null],[13,"ByteaArray","","BYTEA[]",9,null],[13,"CharArray","",""char"[]",9,null],[13,"NameArray","","NAME[]",9,null],[13,"Int2Array","","INT2[]",9,null],[13,"Int2VectorArray","","INT2VECTOR[]",9,null],[13,"Int4Array","","INT4[]",9,null],[13,"RegprocArray","","REGPROC[]",9,null],[13,"TextArray","","TEXT[]",9,null],[13,"TidArray","","TID[]",9,null],[13,"XidArray","","XID[]",9,null],[13,"CidArray","","CID[]",9,null],[13,"OidVectorArray","","OIDVECTOR[]",9,null],[13,"BpcharArray","","BPCHAR[]",9,null],[13,"VarcharArray","","VARCHAR[]",9,null],[13,"Int8Array","","INT8[]",9,null],[13,"PointArray","","POINT[]",9,null],[13,"LsegArray","","LSEG[]",9,null],[13,"PathArray","","PATH[]",9,null],[13,"BoxArray","","BOX[]",9,null],[13,"Float4Array","","FLOAT4[]",9,null],[13,"Float8Array","","FLOAT8[]",9,null],[13,"AbstimeArray","","ABSTIME[]",9,null],[13,"ReltimeArray","","RELTIME[]",9,null],[13,"TintervalArray","","TINTERVAL[]",9,null],[13,"PolygonArray","","POLYGON[]",9,null],[13,"OidArray","","OID[]",9,null],[13,"Aclitem","","ACLITEM - access control list",9,null],[13,"AclitemArray","","ACLITEM[]",9,null],[13,"MacaddrArray","","MACADDR[]",9,null],[13,"InetArray","","INET[]",9,null],[13,"Bpchar","","BPCHAR - char(length), blank-padded string, fixed storage length",9,null],[13,"Varchar","","VARCHAR - varchar(length), non-blank-padded string, variable storage length",9,null],[13,"Date","","DATE - date",9,null],[13,"Time","","TIME - time of day",9,null],[13,"Timestamp","","TIMESTAMP - date and time",9,null],[13,"TimestampArray","","TIMESTAMP[]",9,null],[13,"DateArray","","DATE[]",9,null],[13,"TimeArray","","TIME[]",9,null],[13,"TimestampTZ","","TIMESTAMPTZ - date and time with time zone",9,null],[13,"TimestampTZArray","","TIMESTAMPTZ[]",9,null],[13,"Interval","","INTERVAL - @ &lt;number&gt; &lt;units&gt;, time interval",9,null],[13,"IntervalArray","","INTERVAL[]",9,null],[13,"NumericArray","","NUMERIC[]",9,null],[13,"CstringArray","","CSTRING[]",9,null],[13,"Timetz","","TIMETZ - time of day with time zone",9,null],[13,"TimetzArray","","TIMETZ[]",9,null],[13,"Bit","","BIT - fixed-length bit string",9,null],[13,"BitArray","","BIT[]",9,null],[13,"Varbit","","VARBIT - variable-length bit string",9,null],[13,"VarbitArray","","VARBIT[]",9,null],[13,"Numeric","","NUMERIC - numeric(precision, decimal), arbitrary precision number",9,null],[13,"Refcursor","","REFCURSOR - reference to cursor (portal name)",9,null],[13,"RefcursorArray","","REFCURSOR[]",9,null],[13,"Regprocedure","","REGPROCEDURE - registered procedure (with args)",9,null],[13,"Regoper","","REGOPER - registered operator",9,null],[13,"Regoperator","","REGOPERATOR - registered operator (with args)",9,null],[13,"Regclass","","REGCLASS - registered class",9,null],[13,"Regtype","","REGTYPE - registered type",9,null],[13,"RegprocedureArray","","REGPROCEDURE[]",9,null],[13,"RegoperArray","","REGOPER[]",9,null],[13,"RegoperatorArray","","REGOPERATOR[]",9,null],[13,"RegclassArray","","REGCLASS[]",9,null],[13,"RegtypeArray","","REGTYPE[]",9,null],[13,"Record","","RECORD",9,null],[13,"Cstring","","CSTRING",9,null],[13,"Any","","ANY",9,null],[13,"AnyArray","","ANY[]",9,null],[13,"Void","","VOID",9,null],[13,"Trigger","","TRIGGER",9,null],[13,"LanguageHandler","","LANGUAGE_HANDLER",9,null],[13,"Internal","","INTERNAL",9,null],[13,"Opaque","","OPAQUE",9,null],[13,"Anyelement","","ANYELEMENT",9,null],[13,"RecordArray","","RECORD[]",9,null],[13,"Anynonarray","","ANYNONARRAY",9,null],[13,"TxidSnapshotArray","","TXID_SNAPSHOT[]",9,null],[13,"Uuid","","UUID - UUID datatype",9,null],[13,"TxidSnapshot","","TXID_SNAPSHOT - txid snapshot",9,null],[13,"UuidArray","","UUID[]",9,null],[13,"FdwHandler","","FDW_HANDLER",9,null],[13,"PgLsn","","PG_LSN - PostgreSQL LSN datatype",9,null],[13,"PgLsnArray","","PG_LSN[]",9,null],[13,"Anyenum","","ANYENUM",9,null],[13,"Tsvector","","TSVECTOR - text representation for text search",9,null],[13,"Tsquery","","TSQUERY - query representation for text search",9,null],[13,"Gtsvector","","GTSVECTOR - GiST index internal text representation for text search",9,null],[13,"TsvectorArray","","TSVECTOR[]",9,null],[13,"GtsvectorArray","","GTSVECTOR[]",9,null],[13,"TsqueryArray","","TSQUERY[]",9,null],[13,"Regconfig","","REGCONFIG - registered text search configuration",9,null],[13,"RegconfigArray","","REGCONFIG[]",9,null],[13,"Regdictionary","","REGDICTIONARY - registered text search dictionary",9,null],[13,"RegdictionaryArray","","REGDICTIONARY[]",9,null],[13,"Jsonb","","JSONB",9,null],[13,"Anyrange","","ANYRANGE",9,null],[13,"JsonbArray","","JSONB[]",9,null],[13,"Int4Range","","INT4RANGE - range of integers",9,null],[13,"Int4RangeArray","","INT4RANGE[]",9,null],[13,"NumRange","","NUMRANGE - range of numerics",9,null],[13,"NumRangeArray","","NUMRANGE[]",9,null],[13,"TsRange","","TSRANGE - range of timestamps without time zone",9,null],[13,"TsRangeArray","","TSRANGE[]",9,null],[13,"TstzRange","","TSTZRANGE - range of timestamps with time zone",9,null],[13,"TstzRangeArray","","TSTZRANGE[]",9,null],[13,"DateRange","","DATERANGE - range of dates",9,null],[13,"DateRangeArray","","DATERANGE[]",9,null],[13,"Int8Range","","INT8RANGE - range of bigints",9,null],[13,"Int8RangeArray","","INT8RANGE[]",9,null],[13,"EventTrigger","","EVENT_TRIGGER",9,null],[13,"Other","","An unknown type.",9,null],[4,"Kind","","Represents the kind of a Postgres type.",null,null],[13,"Simple","","A simple type like `VARCHAR` or `INTEGER`.",10,null],[13,"Array","","An array type along with the type of its elements.",10,null],[13,"Range","","A range type along with the type of its elements.",10,null],[4,"ConnectTarget","","Specifies the target server to connect to.",null,null],[13,"Tcp","","Connect via TCP to the specified host.",11,null],[4,"IsolationLevel","","An enumeration of transaction isolation levels.",null,null],[13,"ReadUncommitted","","The "read uncommitted" level.",12,null],[13,"ReadCommitted","","The "read committed" level.",12,null],[13,"RepeatableRead","","The "repeatable read" level.",12,null],[13,"Serializable","","The "serializable" level.",12,null],[4,"SslMode","","Specifies the SSL support requested for a new connection.",null,null],[13,"None","","The connection will not use SSL.",13,null],[13,"Prefer","","The connection will use SSL if the backend supports it.",13,null],[13,"Require","","The connection must use SSL.",13,null],[5,"cancel_query","","Attempts to cancel an in-progress query.",null,{"inputs":[{"name":"t"},{"name":"sslmode"},{"name":"canceldata"}],"output":{"name":"result"}}],[11,"clone","","",7,null],[11,"eq","","",7,null],[11,"ne","","",7,null],[11,"from_code","","Creates a `SqlState` from its error code.",7,{"inputs":[{"name":"string"}],"output":{"name":"sqlstate"}}],[11,"code","","Returns the error code corresponding to the `SqlState`.",7,null],[11,"fmt","","",7,null],[11,"fmt","","",6,null],[11,"fmt","","",6,null],[11,"description","","",6,null],[11,"cause","","",6,null],[11,"from","","",6,{"inputs":[{"name":"error"}],"output":{"name":"connecterror"}}],[11,"from","","",6,{"inputs":[{"name":"dberror"}],"output":{"name":"connecterror"}}],[11,"from","","",6,{"inputs":[{"name":"sslerror"}],"output":{"name":"connecterror"}}],[11,"from","","",6,{"inputs":[{"name":"error"}],"output":{"name":"connecterror"}}],[11,"fmt","","",8,null],[11,"eq","","",8,null],[11,"ne","","",8,null],[11,"clone","","",8,null],[11,"fmt","","",5,null],[11,"fmt","","",5,null],[11,"description","","",5,null],[11,"cause","","",5,null],[11,"from","","",5,{"inputs":[{"name":"dberror"}],"output":{"name":"error"}}],[11,"from","","",5,{"inputs":[{"name":"error"}],"output":{"name":"error"}}],[11,"from","","",5,{"inputs":[{"name":"error"}],"output":{"name":"error"}}],[11,"fmt","","",14,null],[11,"eq","","",14,null],[11,"ne","","",14,null],[11,"clone","","",14,null],[11,"severity","","The field contents are ERROR, FATAL, or PANIC (in an error message),\nor WARNING, NOTICE, DEBUG, INFO, or LOG (in a notice message), or a\nlocalized translation of one of these.",14,null],[11,"code","","The SQLSTATE code for the error.",14,null],[11,"message","","The primary human-readable error message. This should be accurate but\nterse (typically one line).",14,null],[11,"detail","","An optional secondary error message carrying more detail about the\nproblem. Might run to multiple lines.",14,null],[11,"hint","","An optional suggestion what to do about the problem. This is intended\nto differ from Detail in that it offers advice (potentially\ninappropriate) rather than hard facts. Might run to multiple lines.",14,null],[11,"position","","An optional error cursor position into either the original query string\nor an internally generated query.",14,null],[11,"where_","","An indication of the context in which the error occurred. Presently\nthis includes a call stack traceback of active procedural language\nfunctions and internally-generated queries. The trace is one entry per\nline, most recent first.",14,null],[11,"schema","","If the error was associated with a specific database object, the name\nof the schema containing that object, if any. (PostgreSQL 9.3+)",14,null],[11,"table","","If the error was associated with a specific table, the name of the\ntable. (Refer to the schema name field for the name of the table's\nschema.) (PostgreSQL 9.3+)",14,null],[11,"column","","If the error was associated with a specific table column, the name of\nthe column. (Refer to the schema and table name fields to identify the\ntable.) (PostgreSQL 9.3+)",14,null],[11,"datatype","","If the error was associated with a specific data type, the name of the\ndata type. (Refer to the schema name field for the name of the data\ntype's schema.) (PostgreSQL 9.3+)",14,null],[11,"constraint","","If the error was associated with a specific constraint, the name of the\nconstraint. Refer to fields listed above for the associated table or\ndomain. (For this purpose, indexes are treated as constraints, even if\nthey weren't created with constraint syntax.) (PostgreSQL 9.3+)",14,null],[11,"file","","The file name of the source-code location where the error was reported.",14,null],[11,"line","","The line number of the source-code location where the error was\nreported.",14,null],[11,"routine","","The name of the source-code routine reporting the error.",14,null],[11,"fmt","","",14,null],[11,"description","","",14,null],[0,"types","","Traits dealing with Postgres data types",null,null],[3,"Slice","postgres::types","An adapter type mapping slices to Postgres arrays.",null,null],[12,"0","","",0,null],[3,"Other","","Information about an unknown type.",null,null],[4,"Kind","","Represents the kind of a Postgres type.",null,null],[13,"Simple","","A simple type like `VARCHAR` or `INTEGER`.",10,null],[13,"Array","","An array type along with the type of its elements.",10,null],[13,"Range","","A range type along with the type of its elements.",10,null],[4,"Type","","A Postgres type.",null,null],[13,"Bool","","BOOL - boolean, 'true'/'false'",9,null],[13,"Bytea","","BYTEA - variable-length string, binary values escaped",9,null],[13,"Char","",""char" - single character",9,null],[13,"Name","","NAME - 63-byte type for storing system identifiers",9,null],[13,"Int8","","INT8/BIGINT - ~18 digit integer, 8-byte storage",9,null],[13,"Int2","","INT2/SMALLINT - -32 thousand to 32 thousand, 2-byte storage",9,null],[13,"Int2Vector","","INT2VECTOR - array of int2, used in system tables",9,null],[13,"Int4","","INT4/INT - -2 billion to 2 billion integer, 4-byte storage",9,null],[13,"Regproc","","REGPROC - registered procedure",9,null],[13,"Text","","TEXT - variable-length string, no limit specified",9,null],[13,"Oid","","OID - object identifier(oid), maximum 4 billion",9,null],[13,"Tid","","TID - (block, offset), physical location of tuple",9,null],[13,"Xid","","XID - transaction id",9,null],[13,"Cid","","CID - command identifier type, sequence in transaction id",9,null],[13,"OidVector","","OIDVECTOR - array of oids, used in system tables",9,null],[13,"PgType","","PG_TYPE",9,null],[13,"PgAttribute","","PG_ATTRIBUTE",9,null],[13,"PgProc","","PG_PROC",9,null],[13,"PgClass","","PG_CLASS",9,null],[13,"Json","","JSON",9,null],[13,"Xml","","XML - XML content",9,null],[13,"XmlArray","","XML[]",9,null],[13,"PgNodeTree","","PG_NODE_TREE - string representing an internal node tree",9,null],[13,"JsonArray","","JSON[]",9,null],[13,"Smgr","","SMGR - storage manager",9,null],[13,"Point","","POINT - geometric point '(x, y)'",9,null],[13,"Lseg","","LSEG - geometric line segment '(pt1,pt2)'",9,null],[13,"Path","","PATH - geometric path '(pt1,...)'",9,null],[13,"Box","","BOX - geometric box '(lower left,upper right)'",9,null],[13,"Polygon","","POLYGON - geometric polygon '(pt1,...)'",9,null],[13,"Line","","LINE - geometric line",9,null],[13,"LineArray","","LINE[]",9,null],[13,"Cidr","","CIDR - network IP address/netmask, network address",9,null],[13,"CidrArray","","CIDR[]",9,null],[13,"Float4","","FLOAT4/REAL - single-precision floating point number, 4-byte storage",9,null],[13,"Float8","","FLOAT8/DOUBLE PRECISION - double-precision floating point number, 8-byte storage",9,null],[13,"Abstime","","ABSTIME - absolute, limited-range date and time (Unix system time)",9,null],[13,"Reltime","","RELTIME - relative, limited-range date and time (Unix delta time)",9,null],[13,"Tinterval","","TINTERVAL - (abstime,abstime), time interval",9,null],[13,"Unknown","","UNKNOWN",9,null],[13,"Circle","","CIRCLE - geometric circle '(center,radius)'",9,null],[13,"CircleArray","","CIRCLE[]",9,null],[13,"Money","","MONEY - monetary amounts, $d,ddd.cc",9,null],[13,"MoneyArray","","MONEY[]",9,null],[13,"Macaddr","","MACADDR - XX:XX:XX:XX:XX:XX, MAC address",9,null],[13,"Inet","","INET - IP address/netmask, host address, netmask optional",9,null],[13,"BoolArray","","BOOL[]",9,null],[13,"ByteaArray","","BYTEA[]",9,null],[13,"CharArray","",""char"[]",9,null],[13,"NameArray","","NAME[]",9,null],[13,"Int2Array","","INT2[]",9,null],[13,"Int2VectorArray","","INT2VECTOR[]",9,null],[13,"Int4Array","","INT4[]",9,null],[13,"RegprocArray","","REGPROC[]",9,null],[13,"TextArray","","TEXT[]",9,null],[13,"TidArray","","TID[]",9,null],[13,"XidArray","","XID[]",9,null],[13,"CidArray","","CID[]",9,null],[13,"OidVectorArray","","OIDVECTOR[]",9,null],[13,"BpcharArray","","BPCHAR[]",9,null],[13,"VarcharArray","","VARCHAR[]",9,null],[13,"Int8Array","","INT8[]",9,null],[13,"PointArray","","POINT[]",9,null],[13,"LsegArray","","LSEG[]",9,null],[13,"PathArray","","PATH[]",9,null],[13,"BoxArray","","BOX[]",9,null],[13,"Float4Array","","FLOAT4[]",9,null],[13,"Float8Array","","FLOAT8[]",9,null],[13,"AbstimeArray","","ABSTIME[]",9,null],[13,"ReltimeArray","","RELTIME[]",9,null],[13,"TintervalArray","","TINTERVAL[]",9,null],[13,"PolygonArray","","POLYGON[]",9,null],[13,"OidArray","","OID[]",9,null],[13,"Aclitem","","ACLITEM - access control list",9,null],[13,"AclitemArray","","ACLITEM[]",9,null],[13,"MacaddrArray","","MACADDR[]",9,null],[13,"InetArray","","INET[]",9,null],[13,"Bpchar","","BPCHAR - char(length), blank-padded string, fixed storage length",9,null],[13,"Varchar","","VARCHAR - varchar(length), non-blank-padded string, variable storage length",9,null],[13,"Date","","DATE - date",9,null],[13,"Time","","TIME - time of day",9,null],[13,"Timestamp","","TIMESTAMP - date and time",9,null],[13,"TimestampArray","","TIMESTAMP[]",9,null],[13,"DateArray","","DATE[]",9,null],[13,"TimeArray","","TIME[]",9,null],[13,"TimestampTZ","","TIMESTAMPTZ - date and time with time zone",9,null],[13,"TimestampTZArray","","TIMESTAMPTZ[]",9,null],[13,"Interval","","INTERVAL - @ &lt;number&gt; &lt;units&gt;, time interval",9,null],[13,"IntervalArray","","INTERVAL[]",9,null],[13,"NumericArray","","NUMERIC[]",9,null],[13,"CstringArray","","CSTRING[]",9,null],[13,"Timetz","","TIMETZ - time of day with time zone",9,null],[13,"TimetzArray","","TIMETZ[]",9,null],[13,"Bit","","BIT - fixed-length bit string",9,null],[13,"BitArray","","BIT[]",9,null],[13,"Varbit","","VARBIT - variable-length bit string",9,null],[13,"VarbitArray","","VARBIT[]",9,null],[13,"Numeric","","NUMERIC - numeric(precision, decimal), arbitrary precision number",9,null],[13,"Refcursor","","REFCURSOR - reference to cursor (portal name)",9,null],[13,"RefcursorArray","","REFCURSOR[]",9,null],[13,"Regprocedure","","REGPROCEDURE - registered procedure (with args)",9,null],[13,"Regoper","","REGOPER - registered operator",9,null],[13,"Regoperator","","REGOPERATOR - registered operator (with args)",9,null],[13,"Regclass","","REGCLASS - registered class",9,null],[13,"Regtype","","REGTYPE - registered type",9,null],[13,"RegprocedureArray","","REGPROCEDURE[]",9,null],[13,"RegoperArray","","REGOPER[]",9,null],[13,"RegoperatorArray","","REGOPERATOR[]",9,null],[13,"RegclassArray","","REGCLASS[]",9,null],[13,"RegtypeArray","","REGTYPE[]",9,null],[13,"Record","","RECORD",9,null],[13,"Cstring","","CSTRING",9,null],[13,"Any","","ANY",9,null],[13,"AnyArray","","ANY[]",9,null],[13,"Void","","VOID",9,null],[13,"Trigger","","TRIGGER",9,null],[13,"LanguageHandler","","LANGUAGE_HANDLER",9,null],[13,"Internal","","INTERNAL",9,null],[13,"Opaque","","OPAQUE",9,null],[13,"Anyelement","","ANYELEMENT",9,null],[13,"RecordArray","","RECORD[]",9,null],[13,"Anynonarray","","ANYNONARRAY",9,null],[13,"TxidSnapshotArray","","TXID_SNAPSHOT[]",9,null],[13,"Uuid","","UUID - UUID datatype",9,null],[13,"TxidSnapshot","","TXID_SNAPSHOT - txid snapshot",9,null],[13,"UuidArray","","UUID[]",9,null],[13,"FdwHandler","","FDW_HANDLER",9,null],[13,"PgLsn","","PG_LSN - PostgreSQL LSN datatype",9,null],[13,"PgLsnArray","","PG_LSN[]",9,null],[13,"Anyenum","","ANYENUM",9,null],[13,"Tsvector","","TSVECTOR - text representation for text search",9,null],[13,"Tsquery","","TSQUERY - query representation for text search",9,null],[13,"Gtsvector","","GTSVECTOR - GiST index internal text representation for text search",9,null],[13,"TsvectorArray","","TSVECTOR[]",9,null],[13,"GtsvectorArray","","GTSVECTOR[]",9,null],[13,"TsqueryArray","","TSQUERY[]",9,null],[13,"Regconfig","","REGCONFIG - registered text search configuration",9,null],[13,"RegconfigArray","","REGCONFIG[]",9,null],[13,"Regdictionary","","REGDICTIONARY - registered text search dictionary",9,null],[13,"RegdictionaryArray","","REGDICTIONARY[]",9,null],[13,"Jsonb","","JSONB",9,null],[13,"Anyrange","","ANYRANGE",9,null],[13,"JsonbArray","","JSONB[]",9,null],[13,"Int4Range","","INT4RANGE - range of integers",9,null],[13,"Int4RangeArray","","INT4RANGE[]",9,null],[13,"NumRange","","NUMRANGE - range of numerics",9,null],[13,"NumRangeArray","","NUMRANGE[]",9,null],[13,"TsRange","","TSRANGE - range of timestamps without time zone",9,null],[13,"TsRangeArray","","TSRANGE[]",9,null],[13,"TstzRange","","TSTZRANGE - range of timestamps with time zone",9,null],[13,"TstzRangeArray","","TSTZRANGE[]",9,null],[13,"DateRange","","DATERANGE - range of dates",9,null],[13,"DateRangeArray","","DATERANGE[]",9,null],[13,"Int8Range","","INT8RANGE - range of bigints",9,null],[13,"Int8RangeArray","","INT8RANGE[]",9,null],[13,"EventTrigger","","EVENT_TRIGGER",9,null],[13,"Other","","An unknown type.",9,null],[4,"IsNull","","An enum representing the nullability of a Postgres value.",null,null],[13,"Yes","","The value is NULL.",15,null],[13,"No","","The value is not NULL.",15,null],[11,"fmt","postgres","",0,null],[11,"to_sql_checked","","",0,null],[11,"to_sql","","",0,null],[11,"accepts","","",0,{"inputs":[{"name":"type"}],"output":{"name":"bool"}}],[6,"Oid","postgres::types","A Postgres OID.",null,null],[8,"FromSql","","A trait for types that can be created from a Postgres value.",null,null],[11,"from_sql_nullable","","Creates a new value of this type from a `Read` of Postgres data.",16,{"inputs":[{"name":"type"},{"name":"option"}],"output":{"name":"result"}}],[10,"from_sql","","Creates a new value of this type from a `Read`er of the binary format\nof the specified Postgres `Type`.",16,{"inputs":[{"name":"type"},{"name":"r"}],"output":{"name":"result"}}],[10,"accepts","","Determines if a value of this type can be created from the specified\nPostgres `Type`.",16,{"inputs":[{"name":"type"}],"output":{"name":"bool"}}],[8,"ToSql","","A trait for types that can be converted into Postgres values.",null,null],[10,"to_sql","","Converts the value of `self` into the binary format of the specified\nPostgres `Type`, writing it to `out`.",17,null],[10,"accepts","","Determines if a value of this type can be converted to the specified\nPostgres `Type`.",17,{"inputs":[{"name":"type"}],"output":{"name":"bool"}}],[10,"to_sql_checked","","An adaptor method used internally by Rust-Postgres.",17,null],[11,"eq","","",10,null],[11,"ne","","",10,null],[11,"clone","","",10,null],[11,"fmt","","",10,null],[11,"clone","","",9,null],[11,"eq","","",9,null],[11,"ne","","",9,null],[11,"fmt","","",9,null],[11,"from_oid","","Creates a `Type` from an OID.",9,{"inputs":[{"name":"oid"}],"output":{"name":"option"}}],[11,"to_oid","","Returns the OID of the `Type`.",9,null],[11,"oid","","Returns the OID of the `Type`.",9,null],[11,"kind","","The kind of this type.",9,null],[6,"Oid","postgres","A Postgres OID.",null,null],[6,"Result","","A type alias of the result returned by many methods.",null,null],[8,"ToSql","","A trait for types that can be converted into Postgres values.",null,null],[10,"to_sql","","Converts the value of `self` into the binary format of the specified\nPostgres `Type`, writing it to `out`.",17,null],[10,"accepts","","Determines if a value of this type can be converted to the specified\nPostgres `Type`.",17,{"inputs":[{"name":"type"}],"output":{"name":"bool"}}],[10,"to_sql_checked","","An adaptor method used internally by Rust-Postgres.",17,null],[8,"FromSql","","A trait for types that can be created from a Postgres value.",null,null],[11,"from_sql_nullable","","Creates a new value of this type from a `Read` of Postgres data.",16,{"inputs":[{"name":"type"},{"name":"option"}],"output":{"name":"result"}}],[10,"from_sql","","Creates a new value of this type from a `Read`er of the binary format\nof the specified Postgres `Type`.",16,{"inputs":[{"name":"type"},{"name":"r"}],"output":{"name":"result"}}],[10,"accepts","","Determines if a value of this type can be created from the specified\nPostgres `Type`.",16,{"inputs":[{"name":"type"}],"output":{"name":"bool"}}],[8,"IntoConnectParams","","A trait implemented by types that can be converted into a `ConnectParams`.",null,null],[10,"into_connect_params","","Converts the value of `self` into a `ConnectParams`.",18,null],[8,"HandleNotice","","Trait for types that can handle Postgres notice messages",null,null],[10,"handle_notice","","Handle a Postgres notice message",19,null],[8,"RowIndex","","A trait implemented by types that can index into columns of a row.",null,null],[10,"idx","","Returns the index of the appropriate column, or `None` if no such\ncolumn exists.",20,null],[8,"StreamIterator","","An `Iterator` variant which returns borrowed values.",null,null],[10,"next","","Returns the next value, or `None` if there is none.",21,null],[8,"GenericConnection","","A trait allowing abstraction over connections and transactions",null,null],[10,"prepare","","Like `Connection::prepare`.",22,null],[10,"prepare_cached","","Like `Connection::prepare_cached`.",22,null],[10,"execute","","Like `Connection::execute`.",22,null],[10,"prepare_copy_in","","Like `Connection::prepare_copy_in`.",22,null],[10,"transaction","","Like `Connection::transaction`.",22,null],[10,"batch_execute","","Like `Connection::batch_execute`.",22,null],[10,"is_active","","Like `Connection::is_active`.",22,null],[11,"fmt","","",11,null],[11,"clone","","",11,null],[11,"fmt","","",1,null],[11,"clone","","",1,null],[11,"fmt","","",2,null],[11,"clone","","",2,null],[11,"into_connect_params","","",2,null],[11,"fmt","","",23,null],[11,"clone","","",23,null],[11,"handle_notice","","",23,null],[11,"fmt","","",3,null],[11,"clone","","",3,null],[11,"fmt","","",24,null],[11,"next","","Returns the oldest pending notification or `None` if there are none.",24,null],[11,"next_block","","Returns the oldest pending notification.",24,null],[11,"fmt","","",4,null],[11,"clone","","",4,null],[11,"eq","","",12,null],[11,"clone","","",12,null],[11,"fmt","","",12,null],[11,"fmt","","",25,null],[11,"connect","","Creates a new connection to a Postgres database.",25,{"inputs":[{"name":"t"},{"name":"sslmode"}],"output":{"name":"result"}}],[11,"set_notice_handler","","Sets the notice handler for the connection, returning the old handler.",25,null],[11,"notifications","","Returns an iterator over asynchronous notification messages.",25,null],[11,"prepare","","Creates a new prepared statement.",25,null],[11,"prepare_cached","","Creates cached prepared statement.",25,null],[11,"prepare_copy_in","","Creates a new COPY FROM STDIN prepared statement.",25,null],[11,"transaction","","Begins a new transaction.",25,null],[11,"set_transaction_isolation","","Sets the isolation level which will be used for future transactions.",25,null],[11,"get_transaction_isolation","","# Deprecated",25,null],[11,"transaction_isolation","","Returns the isolation level which will be used for future transactions.",25,null],[11,"execute","","A convenience function for queries that are only run once.",25,null],[11,"batch_execute","","Execute a sequence of SQL statements.",25,null],[11,"cancel_data","","Returns information used to cancel pending queries.",25,null],[11,"parameter","","Returns the value of the specified parameter.",25,null],[11,"is_desynchronized","","Returns whether or not the stream has been desynchronized due to an\nerror in the communication channel with the server.",25,null],[11,"is_active","","Determines if the `Connection` is currently "active", that is, if there\nare no active transactions.",25,null],[11,"finish","","Consumes the connection, closing it.",25,null],[11,"fmt","","",13,null],[11,"fmt","","",26,null],[11,"drop","","",26,null],[11,"prepare","","Like `Connection::prepare`.",26,null],[11,"prepare_cached","","Like `Connection::prepare_cached`.",26,null],[11,"prepare_copy_in","","Like `Connection::prepare_copy_in`.",26,null],[11,"execute","","Like `Connection::execute`.",26,null],[11,"batch_execute","","Like `Connection::batch_execute`.",26,null],[11,"transaction","","Like `Connection::transaction`.",26,null],[11,"connection","","Returns a reference to the `Transaction`'s `Connection`.",26,null],[11,"is_active","","Like `Connection::is_active`.",26,null],[11,"will_commit","","Determines if the transaction is currently set to commit or roll back.",26,null],[11,"set_commit","","Sets the transaction to commit at its completion.",26,null],[11,"set_rollback","","Sets the transaction to roll back at its completion.",26,null],[11,"commit","","A convenience method which consumes and commits a transaction.",26,null],[11,"finish","","Consumes the transaction, commiting or rolling it back as appropriate.",26,null],[11,"fmt","","",27,null],[11,"drop","","",27,null],[11,"param_types","","Returns a slice containing the expected parameter types.",27,null],[11,"columns","","Returns a slice describing the columns of the result of the query.",27,null],[11,"execute","","Executes the prepared statement, returning the number of rows modified.",27,null],[11,"query","","Executes the prepared statement, returning the resulting rows.",27,null],[11,"lazy_query","","Executes the prepared statement, returning a lazily loaded iterator\nover the resulting rows.",27,null],[11,"finish","","Consumes the statement, clearing it from the Postgres session.",27,null],[11,"fmt","","",28,null],[11,"clone","","",28,null],[11,"eq","","",28,null],[11,"ne","","",28,null],[11,"name","","The name of the column.",28,null],[11,"type_","","The type of the data in the column.",28,null],[11,"fmt","","",29,null],[11,"columns","","Returns a slice describing the columns of the `Rows`.",29,null],[11,"iter","","Returns an iterator over the `Row`s.",29,null],[11,"into_iter","","",29,null],[11,"next","","",30,null],[11,"size_hint","","",30,null],[11,"next_back","","",30,null],[11,"next","","",31,null],[11,"size_hint","","",31,null],[11,"next_back","","",31,null],[11,"fmt","","",32,null],[11,"len","","Returns the number of values in the row.",32,null],[11,"columns","","Returns a slice describing the columns of the `Row`.",32,null],[11,"get_opt","","Retrieves the contents of a field of the row.",32,null],[11,"get","","Retrieves the contents of a field of the row.",32,null],[11,"get_bytes","","Retrieves the specified field as a raw buffer of Postgres data.",32,null],[11,"drop","","",33,null],[11,"fmt","","",33,null],[11,"columns","","Returns a slice describing the columns of the `LazyRows`.",33,null],[11,"finish","","Consumes the `LazyRows`, cleaning up associated state.",33,null],[11,"next","","",33,null],[11,"size_hint","","",33,null],[11,"fmt","","",34,null],[11,"drop","","",34,null],[11,"new","","Creates a new `VecStreamIterator`.",35,{"inputs":[{"name":"vec"}],"output":{"name":"vecstreamiterator"}}],[11,"into_inner","","Returns the underlying `Vec`.",35,null],[11,"next","","",35,null],[11,"column_types","","Returns a slice containing the expected column types.",34,null],[11,"execute","","Executes the prepared statement.",34,null],[11,"finish","","Consumes the statement, clearing it from the Postgres session.",34,null],[11,"prepare","","",25,null],[11,"prepare_cached","","",25,null],[11,"execute","","",25,null],[11,"transaction","","",25,null],[11,"prepare_copy_in","","",25,null],[11,"batch_execute","","",25,null],[11,"is_active","","",25,null],[11,"prepare","","",26,null],[11,"prepare_cached","","",26,null],[11,"execute","","",26,null],[11,"transaction","","",26,null],[11,"prepare_copy_in","","",26,null],[11,"batch_execute","","",26,null],[11,"is_active","","",26,null],[14,"accepts!","","Generates a simple implementation of `ToSql::accepts` which accepts the\ntypes passed to it.",null,null],[14,"to_sql_checked!","","Generates an implementation of `ToSql::to_sql_checked`.",null,null],[11,"fmt","postgres::types","",36,null],[11,"clone","","",36,null],[11,"eq","","",36,null],[11,"ne","","",36,null],[11,"name","","The name of the type.",36,null],[11,"oid","","The OID of this type.",36,null],[11,"kind","","The kind of this type.",36,null]],"paths":[[3,"Slice"],[3,"UserInfo"],[3,"ConnectParams"],[3,"Notification"],[3,"CancelData"],[4,"Error"],[4,"ConnectError"],[4,"SqlState"],[4,"ErrorPosition"],[4,"Type"],[4,"Kind"],[4,"ConnectTarget"],[4,"IsolationLevel"],[4,"SslMode"],[3,"DbError"],[4,"IsNull"],[8,"FromSql"],[8,"ToSql"],[8,"IntoConnectParams"],[8,"HandleNotice"],[8,"RowIndex"],[8,"StreamIterator"],[8,"GenericConnection"],[3,"LoggingNoticeHandler"],[3,"Notifications"],[3,"Connection"],[3,"Transaction"],[3,"Statement"],[3,"Column"],[3,"Rows"],[3,"RowsIter"],[3,"RowsIntoIter"],[3,"Row"],[3,"LazyRows"],[3,"CopyInStatement"],[3,"VecStreamIterator"],[3,"Other"]]}; initSearch(searchIndex);