var searchIndex = {}; searchIndex["bson"] = {"doc":"BSON is a binary format in which zero or more key/value pairs are stored as a single entity.\nWe call this entity a document.","items":[[4,"Bson","bson","Possible BSON value types.",null,null],[13,"FloatingPoint","","",0,null],[13,"String","","",0,null],[13,"Array","","",0,null],[13,"Document","","",0,null],[13,"Boolean","","",0,null],[13,"Null","","",0,null],[13,"RegExp","","",0,null],[13,"JavaScriptCode","","",0,null],[13,"JavaScriptCodeWithScope","","",0,null],[13,"I32","","",0,null],[13,"I64","","",0,null],[13,"TimeStamp","","",0,null],[13,"Binary","","",0,null],[13,"ObjectId","","",0,null],[13,"UtcDatetime","","",0,null],[4,"EncoderError","","Possible errors that can arise during encoding.",null,null],[13,"IoError","","",1,null],[4,"DecoderError","","Possible errors that can arise during decoding.",null,null],[13,"IoError","","",2,null],[13,"Utf8Error","","",2,null],[13,"UnrecognizedElementType","","",2,null],[13,"InvalidArrayKey","","",2,null],[4,"ValueAccessError","","Error to indicate that either a value was empty or it contained an unexpected\ntype, for use with the direct getters.",null,null],[13,"NotPresent","","",3,null],[13,"UnexpectedType","","",3,null],[5,"encode_document","","Attempt to encode a `Document` into a byte stream.",null,{"inputs":[{"name":"w"},{"name":"d"}],"output":{"name":"encoderresult"}}],[5,"decode_document","","Attempt to decode a `Document` from a byte stream.",null,{"inputs":[{"name":"r"}],"output":{"name":"decoderresult"}}],[0,"oid","","",null,null],[3,"ObjectId","bson::oid","A wrapper around raw 12-byte ObjectId representations.",null,null],[4,"Error","","Errors that can occur during OID construction and generation.",null,null],[13,"ArgumentError","","",4,null],[13,"FromHexError","","",4,null],[13,"IoError","","",4,null],[13,"HostnameError","","",4,null],[6,"Result","","Alias for Result<T, oid::Error>.",null,null],[11,"fmt","","",4,null],[11,"from","","",4,{"inputs":[{"name":"fromhexerror"}],"output":{"name":"error"}}],[11,"from","","",4,{"inputs":[{"name":"error"}],"output":{"name":"error"}}],[11,"fmt","","",4,null],[11,"description","","",4,null],[11,"cause","","",4,null],[11,"cmp","","",5,null],[11,"partial_cmp","","",5,null],[11,"lt","","",5,null],[11,"le","","",5,null],[11,"gt","","",5,null],[11,"ge","","",5,null],[11,"eq","","",5,null],[11,"ne","","",5,null],[11,"clone","","",5,null],[11,"fmt","","",5,null],[11,"new","","Generates a new ObjectID, represented in bytes.\nSee the [docs](http://docs.mongodb.org/manual/reference/object-id/)\nfor more information.",5,{"inputs":[],"output":{"name":"result"}}],[11,"with_bytes","","Constructs a new ObjectId wrapper around the raw byte representation.",5,null],[11,"with_string","","Creates an ObjectID using a 12-byte (24-char) hexadecimal string.",5,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"with_timestamp","","Creates a dummy ObjectId with a specific generation time.\nThis method should only be used to do range queries on a field\ncontaining ObjectId instances.",5,{"inputs":[{"name":"u32"}],"output":{"name":"objectid"}}],[11,"bytes","","Returns the raw byte representation of an ObjectId.",5,null],[11,"timestamp","","Retrieves the timestamp (seconds since epoch) from an ObjectId.",5,null],[11,"machine_id","","Retrieves the machine id associated with an ObjectId.",5,null],[11,"process_id","","Retrieves the process id associated with an ObjectId.",5,null],[11,"counter","","Retrieves the increment counter from an ObjectId.",5,null],[0,"spec","bson","Constants derived from the [BSON Specification Version 1.0](http://bsonspec.org/spec.html).",null,null],[4,"ElementType","bson::spec","All available BSON element types.",null,null],[13,"FloatingPoint","","",6,null],[13,"Utf8String","","",6,null],[13,"EmbeddedDocument","","",6,null],[13,"Array","","",6,null],[13,"Binary","","",6,null],[13,"Undefined","","Deprecated.",6,null],[13,"ObjectId","","",6,null],[13,"Boolean","","",6,null],[13,"UtcDatetime","","",6,null],[13,"NullValue","","",6,null],[13,"RegularExpression","","",6,null],[13,"DbPointer","","Deprecated.",6,null],[13,"JavaScriptCode","","",6,null],[13,"Deprecated","","",6,null],[13,"JavaScriptCodeWithScope","","",6,null],[13,"Integer32Bit","","",6,null],[13,"TimeStamp","","",6,null],[13,"Integer64Bit","","",6,null],[13,"MaxKey","","",6,null],[13,"MinKey","","",6,null],[4,"BinarySubtype","","The available binary subtypes, plus a user-defined slot.",null,null],[13,"Generic","","",7,null],[13,"Function","","",7,null],[13,"BinaryOld","","",7,null],[13,"UuidOld","","",7,null],[13,"Uuid","","",7,null],[13,"Md5","","",7,null],[13,"UserDefined","","",7,null],[17,"ELEMENT_TYPE_FLOATING_POINT","","",null,null],[17,"ELEMENT_TYPE_UTF8_STRING","","",null,null],[17,"ELEMENT_TYPE_EMBEDDED_DOCUMENT","","",null,null],[17,"ELEMENT_TYPE_ARRAY","","",null,null],[17,"ELEMENT_TYPE_BINARY","","",null,null],[17,"ELEMENT_TYPE_UNDEFINED","","",null,null],[17,"ELEMENT_TYPE_OBJECT_ID","","",null,null],[17,"ELEMENT_TYPE_BOOLEAN","","",null,null],[17,"ELEMENT_TYPE_UTC_DATETIME","","",null,null],[17,"ELEMENT_TYPE_NULL_VALUE","","",null,null],[17,"ELEMENT_TYPE_REGULAR_EXPRESSION","","",null,null],[17,"ELEMENT_TYPE_DBPOINTER","","",null,null],[17,"ELEMENT_TYPE_JAVASCRIPT_CODE","","",null,null],[17,"ELEMENT_TYPE_DEPRECATED","","",null,null],[17,"ELEMENT_TYPE_JAVASCRIPT_CODE_WITH_SCOPE","","",null,null],[17,"ELEMENT_TYPE_32BIT_INTEGER","","",null,null],[17,"ELEMENT_TYPE_TIMESTAMP","","",null,null],[17,"ELEMENT_TYPE_64BIT_INTEGER","","",null,null],[17,"ELEMENT_TYPE_MINKEY","","",null,null],[17,"ELEMENT_TYPE_MAXKEY","","",null,null],[17,"BINARY_SUBTYPE_GENERIC","","",null,null],[17,"BINARY_SUBTYPE_FUNCTION","","",null,null],[17,"BINARY_SUBTYPE_BINARY_OLD","","",null,null],[17,"BINARY_SUBTYPE_UUID_OLD","","",null,null],[17,"BINARY_SUBTYPE_UUID","","",null,null],[17,"BINARY_SUBTYPE_MD5","","",null,null],[11,"eq","","",6,null],[11,"fmt","","",6,null],[11,"from","","Attempt to convert from a `u8`.",6,{"inputs":[{"name":"u8"}],"output":{"name":"option"}}],[11,"eq","","",7,null],[11,"ne","","",7,null],[11,"fmt","","",7,null],[11,"clone","","",7,null],[11,"from","","",7,{"inputs":[{"name":"u8"}],"output":{"name":"binarysubtype"}}],[11,"eq","bson","",0,null],[11,"ne","","",0,null],[11,"clone","","",0,null],[11,"fmt","","",0,null],[11,"fmt","","",0,null],[11,"from","","",0,{"inputs":[{"name":"f32"}],"output":{"name":"bson"}}],[11,"from","","",0,{"inputs":[{"name":"f64"}],"output":{"name":"bson"}}],[11,"from","","",0,{"inputs":[{"name":"str"}],"output":{"name":"bson"}}],[11,"from","","",0,{"inputs":[{"name":"string"}],"output":{"name":"bson"}}],[11,"from","","",0,{"inputs":[{"name":"array"}],"output":{"name":"bson"}}],[11,"from","","",0,{"inputs":[{"name":"document"}],"output":{"name":"bson"}}],[11,"from","","",0,{"inputs":[{"name":"bool"}],"output":{"name":"bson"}}],[11,"from","","",0,null],[11,"from","","",0,null],[11,"from","","",0,null],[11,"from","","",0,{"inputs":[{"name":"i32"}],"output":{"name":"bson"}}],[11,"from","","",0,{"inputs":[{"name":"i64"}],"output":{"name":"bson"}}],[11,"from","","",0,{"inputs":[{"name":"u32"}],"output":{"name":"bson"}}],[11,"from","","",0,{"inputs":[{"name":"u64"}],"output":{"name":"bson"}}],[11,"from","","",0,null],[11,"from","","",0,{"inputs":[{"name":"objectid"}],"output":{"name":"bson"}}],[11,"from","","",0,{"inputs":[{"name":"datetime"}],"output":{"name":"bson"}}],[11,"element_type","","Get the `ElementType` of this value.",0,null],[11,"to_json","","Convert this value to the best approximate `Json`.",0,null],[11,"from_json","","Create a `Bson` from a `Json`.",0,{"inputs":[{"name":"json"}],"output":{"name":"bson"}}],[11,"fmt","","",1,null],[11,"from","","",1,{"inputs":[{"name":"error"}],"output":{"name":"encodererror"}}],[11,"from","","",1,{"inputs":[{"name":"error"}],"output":{"name":"encodererror"}}],[11,"fmt","","",1,null],[11,"description","","",1,null],[11,"cause","","",1,null],[11,"fmt","","",2,null],[11,"from","","",2,{"inputs":[{"name":"error"}],"output":{"name":"decodererror"}}],[11,"from","","",2,{"inputs":[{"name":"utf8error"}],"output":{"name":"decodererror"}}],[11,"from","","",2,{"inputs":[{"name":"error"}],"output":{"name":"decodererror"}}],[11,"fmt","","",2,null],[11,"description","","",2,null],[11,"cause","","",2,null],[11,"eq","","",3,null],[11,"fmt","","",3,null],[6,"Document","","Alias for `OrderedDocument`.",null,null],[6,"Array","","Alias for `Vec<Bson>`.",null,null],[6,"EncoderResult","","Alias for `Result<T, EncoderError>`.",null,null],[6,"DecoderResult","","Alias for `Result<T, DecoderError>`.",null,null],[6,"ValueAccessResult","","",null,null],[14,"bson!","","",null,null],[14,"doc!","","",null,null]],"paths":[[4,"Bson"],[4,"EncoderError"],[4,"DecoderError"],[4,"ValueAccessError"],[4,"Error"],[3,"ObjectId"],[4,"ElementType"],[4,"BinarySubtype"]]}; initSearch(searchIndex);