Enum openssh_sftp_client::Data
source · [−]Variants
Buffer(Buffer)
The buffer that stores the response of Read.
It will be returned if you provided a buffer to
crate::WriteEnd::send_read_request
.
AllocatedBox(Box<[u8]>)
This is a fallback that is returned
if Buffer
isn’t provided or it isn’t large enough.
Eof
EOF is reached before any data can be read.
Trait Implementations
Auto Trait Implementations
impl<Buffer> RefUnwindSafe for Data<Buffer> where
Buffer: RefUnwindSafe,
impl<Buffer> UnwindSafe for Data<Buffer> where
Buffer: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more