Enum openssh_sftp_client::Data [−][src]
Variants
Buffer(Buffer)
The buffer that stores the response of Read,
since its corresponding response type ResponseInner::Data
does not contain any member, it doesn’t have to be stored.
AllocatedBox(Box<[u8]>)
Same as Buffer
, this is a fallback
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