1 line
11 KiB
HTML
1 line
11 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `brotli` crate."><title>brotli - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="brotli" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../static.files/storage-e2aeef58.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">Crate brotli</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../brotli/index.html">brotli</a><span class="version">8.0.2</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section id="rustdoc-toc"><h3><a href="#reexports">Crate Items</a></h3><ul class="block"><li><a href="#reexports" title="Re-exports">Re-exports</a></li><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#constants" title="Constants">Constants</a></li><li><a href="#traits" title="Traits">Traits</a></li><li><a href="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><h1>Crate <span>brotli</span> <button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/brotli/lib.rs.html#1-67">Source</a> </span></div><h2 id="reexports" class="section-header">Re-exports<a href="#reexports" class="anchor">§</a></h2><dl class="item-table reexports"><dt id="reexport.CombiningAllocator"><code>pub use self::enc::combined_alloc::<a class="struct" href="enc/combined_alloc/struct.CombiningAllocator.html" title="struct brotli::enc::combined_alloc::CombiningAllocator">CombiningAllocator</a>;</code></dt><dt id="reexport.InputPair"><code>pub use crate::enc::input_pair::<a class="struct" href="enc/input_pair/struct.InputPair.html" title="struct brotli::enc::input_pair::InputPair">InputPair</a>;</code></dt><dt id="reexport.InputReference"><code>pub use crate::enc::input_pair::<a class="struct" href="enc/input_pair/struct.InputReference.html" title="struct brotli::enc::input_pair::InputReference">InputReference</a>;</code></dt><dt id="reexport.InputReferenceMut"><code>pub use crate::enc::input_pair::<a class="struct" href="enc/input_pair/struct.InputReferenceMut.html" title="struct brotli::enc::input_pair::InputReferenceMut">InputReferenceMut</a>;</code></dt><dt id="reexport.SliceOffset"><code>pub use crate::enc::interface::<a class="struct" href="enc/interface/struct.SliceOffset.html" title="struct brotli::enc::interface::SliceOffset">SliceOffset</a>;</code></dt><dt id="reexport.CompressorReader"><code>pub use crate::enc::reader::<a class="struct" href="enc/reader/struct.CompressorReader.html" title="struct brotli::enc::reader::CompressorReader">CompressorReader</a>;</code></dt><dt id="reexport.CompressorReaderCustomIo"><code>pub use crate::enc::reader::<a class="struct" href="enc/reader/struct.CompressorReaderCustomIo.html" title="struct brotli::enc::reader::CompressorReaderCustomIo">CompressorReaderCustomIo</a>;</code></dt><dt id="reexport.CompressorWriter"><code>pub use crate::enc::writer::<a class="struct" href="enc/writer/struct.CompressorWriter.html" title="struct brotli::enc::writer::CompressorWriter">CompressorWriter</a>;</code></dt><dt id="reexport.CompressorWriterCustomIo"><code>pub use crate::enc::writer::<a class="struct" href="enc/writer/struct.CompressorWriterCustomIo.html" title="struct brotli::enc::writer::CompressorWriterCustomIo">CompressorWriterCustomIo</a>;</code></dt><dt id="reexport.interface"><code>pub use crate::enc::<a class="mod" href="enc/interface/index.html" title="mod brotli::enc::interface">interface</a>;</code></dt><dt id="reexport.BrotliCompressCustomIo"><code>pub use crate::enc::<a class="fn" href="enc/fn.BrotliCompressCustomIo.html" title="fn brotli::enc::BrotliCompressCustomIo">BrotliCompressCustomIo</a>;</code></dt><dt id="reexport.BrotliCompressCustomIoCustomDict"><code>pub use crate::enc::<a class="fn" href="enc/fn.BrotliCompressCustomIoCustomDict.html" title="fn brotli::enc::BrotliCompressCustomIoCustomDict">BrotliCompressCustomIoCustomDict</a>;</code></dt><dt id="reexport.BrotliCompress"><code>pub use crate::enc::<a class="fn" href="enc/fn.BrotliCompress.html" title="fn brotli::enc::BrotliCompress">BrotliCompress</a>;</code></dt><dt id="reexport.BrotliCompressCustomAlloc"><code>pub use crate::enc::<a class="fn" href="enc/fn.BrotliCompressCustomAlloc.html" title="fn brotli::enc::BrotliCompressCustomAlloc">BrotliCompressCustomAlloc</a>;</code></dt></dl><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><dl class="item-table"><dt><a class="mod" href="concat/index.html" title="mod brotli::concat">concat</a></dt><dt><a class="mod" href="dictionary/index.html" title="mod brotli::dictionary">dictionary</a></dt><dt><a class="mod" href="enc/index.html" title="mod brotli::enc">enc</a></dt><dt><a class="mod" href="reader/index.html" title="mod brotli::reader">reader</a></dt><dt><a class="mod" href="transform/index.html" title="mod brotli::transform">transform</a></dt><dt><a class="mod" href="writer/index.html" title="mod brotli::writer">writer</a></dt></dl><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.AllocatedStackMemory.html" title="struct brotli::AllocatedStackMemory">Allocated<wbr>Stack<wbr>Memory</a></dt><dt><a class="struct" href="struct.BrotliState.html" title="struct brotli::BrotliState">Brotli<wbr>State</a></dt><dt><a class="struct" href="struct.Decompressor.html" title="struct brotli::Decompressor">Decompressor</a></dt><dt><a class="struct" href="struct.DecompressorCustomIo.html" title="struct brotli::DecompressorCustomIo">Decompressor<wbr>Custom<wbr>Io</a></dt><dt><a class="struct" href="struct.DecompressorWriter.html" title="struct brotli::DecompressorWriter">Decompressor<wbr>Writer</a></dt><dt><a class="struct" href="struct.DecompressorWriterCustomIo.html" title="struct brotli::DecompressorWriterCustomIo">Decompressor<wbr>Writer<wbr>Custom<wbr>Io</a></dt><dt><a class="struct" href="struct.HeapAlloc.html" title="struct brotli::HeapAlloc">Heap<wbr>Alloc</a></dt><dt><a class="struct" href="struct.HuffmanCode.html" title="struct brotli::HuffmanCode">Huffman<wbr>Code</a></dt><dt><a class="struct" href="struct.IntoIoReader.html" title="struct brotli::IntoIoReader">Into<wbr>IoReader</a></dt><dt><a class="struct" href="struct.IoReaderWrapper.html" title="struct brotli::IoReaderWrapper">IoReader<wbr>Wrapper</a></dt><dt><a class="struct" href="struct.IoWriterWrapper.html" title="struct brotli::IoWriterWrapper">IoWriter<wbr>Wrapper</a></dt><dt><a class="struct" href="struct.StackAllocator.html" title="struct brotli::StackAllocator">Stack<wbr>Allocator</a></dt></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.BrotliResult.html" title="enum brotli::BrotliResult">Brotli<wbr>Result</a></dt></dl><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><dl class="item-table"><dt><a class="constant" href="constant.VERSION.html" title="constant brotli::VERSION">VERSION</a></dt></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.Allocator.html" title="trait brotli::Allocator">Allocator</a></dt><dt><a class="trait" href="trait.CustomRead.html" title="trait brotli::CustomRead">Custom<wbr>Read</a></dt><dd>this trait does not allow for transient errors: they must be retried in the underlying layer</dd><dt><a class="trait" href="trait.CustomWrite.html" title="trait brotli::CustomWrite">Custom<wbr>Write</a></dt><dd>this trait does not allow for transient errors: they must be retried in the underlying layer</dd><dt><a class="trait" href="trait.SliceWrapper.html" title="trait brotli::SliceWrapper">Slice<wbr>Wrapper</a></dt><dt><a class="trait" href="trait.SliceWrapperMut.html" title="trait brotli::SliceWrapperMut">Slice<wbr>Wrapper<wbr>Mut</a></dt></dl><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><dl class="item-table"><dt><a class="fn" href="fn.BrotliDecompress.html" title="fn brotli::BrotliDecompress">Brotli<wbr>Decompress</a></dt><dt><a class="fn" href="fn.BrotliDecompressCustomAlloc.html" title="fn brotli::BrotliDecompressCustomAlloc">Brotli<wbr>Decompress<wbr>Custom<wbr>Alloc</a></dt><dt><a class="fn" href="fn.BrotliDecompressCustomIo.html" title="fn brotli::BrotliDecompressCustomIo">Brotli<wbr>Decompress<wbr>Custom<wbr>Io</a></dt><dt><a class="fn" href="fn.BrotliDecompressCustomIoCustomDict.html" title="fn brotli::BrotliDecompressCustomIoCustomDict">Brotli<wbr>Decompress<wbr>Custom<wbr>IoCustom<wbr>Dict</a></dt><dt><a class="fn" href="fn.BrotliDecompressStream.html" title="fn brotli::BrotliDecompressStream">Brotli<wbr>Decompress<wbr>Stream</a></dt><dt><a class="fn" href="fn.TransformDictionaryWord.html" title="fn brotli::TransformDictionaryWord">Transform<wbr>Dictionary<wbr>Word</a></dt><dt><a class="fn" href="fn.copy_from_to.html" title="fn brotli::copy_from_to">copy_<wbr>from_<wbr>to</a></dt></dl></section></div></main></body></html> |