var searchIndex = {}; searchIndex["secrets"] = {"doc":"Protected-access memory for cryptographic secrets.","items":[[3,"Ref","secrets","Wraps an immutably borrowed reference to the contents of a `Secret`.",null,null],[3,"RefMut","","Wraps an mutably borrowed reference to the contents of a `Secret`.",null,null],[3,"Secret","","A type that wraps allocated memory suitable for cryptographic\nsecrets.",null,null],[11,"fmt","","",0,null],[11,"fmt","","",1,null],[11,"drop","","",0,null],[11,"drop","","",1,null],[11,"deref","","",0,null],[11,"deref","","",1,null],[11,"deref_mut","","",1,null],[11,"borrow","","",0,null],[11,"borrow","","",1,null],[11,"borrow","","",1,null],[11,"as_ptr","","Allows the contents to be accessed via a raw pointer.",0,null],[11,"as_slice","","Allows the contents to be accessed via a slice.",0,null],[11,"as_ptr","","Allows the contents to be accessed via a raw pointer.",1,null],[11,"as_mut_ptr","","Allows the contents to be accessed mutably via a raw pointer.",1,null],[11,"as_slice","","Allows the contents to be accessed via a slice.",1,null],[11,"as_mut_slice","","Allows the contents to be accessed mutably via a slice.",1,null],[11,"fmt","","",2,null],[11,"from","","",2,{"inputs":[{"name":"t"}],"output":{"name":"secret"}}],[11,"eq","","",2,null],[11,"bytes","","Creates a new Secret capable of storing `len` bytes.",2,{"inputs":[{"name":"usize"}],"output":{"name":"self"}}],[11,"random","","Creates a new Secret filled with `len` bytes of\ncryptographically random data.",2,{"inputs":[{"name":"usize"}],"output":{"name":"self"}}],[11,"new","","Creates a new Secret capable of storing `len` elements of type\n`T`.",2,{"inputs":[{"name":"usize"}],"output":{"name":"self"}}],[11,"len","","Returns the number of elements in the Secret.",2,null],[11,"borrow","","Returns a `Ref<T>` from which elements in the `Secret` can be\nsafely read from, via either pointer or slice semantics.",2,null],[11,"borrow_mut","","Returns a `Ref<T>` from which elements in the `Secret` can be\nsafely read from or written to, via either pointer or slice\nsemantics.",2,null]],"paths":[[3,"Ref"],[3,"RefMut"],[3,"Secret"]]}; initSearch(searchIndex);