We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6deb42e commit d34afe9Copy full SHA for d34afe9
1 file changed
src/spooled.rs
@@ -4,7 +4,10 @@ use std::fs::File;
4
use std::io::{self, Cursor, Read, Seek, SeekFrom, Write};
5
use std::path::{Path, PathBuf};
6
7
-/// A wrapper for the two states of a `SpooledTempFile`.
+/// A wrapper for the two states of a [`SpooledTempFile`]. Either:
8
+///
9
+/// 1. An in-memory [`Cursor`] representing the state of the file.
10
+/// 2. A temporary [`File`].
11
#[derive(Debug)]
12
pub enum SpooledData {
13
InMemory(Cursor<Vec<u8>>),
0 commit comments