Enum openssh_sftp_client::Buffer[][src]

pub enum Buffer<'a> {
    Vector(&'a mut Vec<u8>),
    Slice(&'a mut [u8]),
}
Expand description

Buffer that can be used to write data into.

Variants

Vector(&'a mut Vec<u8>)

Tuple Fields

0: &'a mut Vec<u8>

Slice(&'a mut [u8])

Tuple Fields

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.