Module gloo::file::callbacks

source ·
Available on crate feature file only.

Structs

  • A guard object that aborts the file read when dropped (if the read isn’t already finished).

Functions

  • Asynchronously converts the blob into an array buffer and then passes it to the callback.
  • Asynchronously converts the blob into a Vec<u8> and then passes it to the callback.
  • Asynchronously converts the blob into a base64 encoded data: URL and then passes it to the callback.
  • Asynchronously converts blob into a text string and then passes it to the callback.