pub enum TransmissionMedium {
    TempFile,
    Chunks,
}
Expand description

How to send the image to kitty

Note that I didn’t test yet the named shared memory solution offered by kitty.

Variants

TempFile

write a temp file, then give its path to kitty in the payload of the escape sequence. It’s quite fast on SSD but a big downside is that it doesn’t work if you’re distant

Chunks

send the whole rgb or rgba data, encoded in base64, in the payloads of several escape sequence (each one containing at most 4096 bytes). Works if broot runs on remote.

Trait Implementations

Formats the value using the given formatter. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
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.