pub fn result( &self ) -> Option< ReaderResult > {
        let result = js!( return @{self}.result; );
        match result {
            Value::Undefined | Value::Null => None,
            Value::String( text ) => Some( ReaderResult::Text( text ) ),
            _ => unreachable!( "Unexpected result of a FileReader: {:?}", result )
        }
    }
/// The file's contents. This method will only return a value after the read operation
/// is complete, and the format of the data depends on which of the methods was used
/// to initiate the read operation.
///
/// [(JavaScript docs)](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/result)
The file's contents. This method will only return a value after the read operation
is complete, and the format of the data depends on which of the methods was used
to initiate the read operation.


The file ' s contents . This method will only return a value after the read operation is complete and the format of the data depends on which of the methods was used to initiate the read operation .
pub fn result( &self ) -> Option< ReaderResult > {
        let result = js!( return @{self}.result; );
        match result {
            Value::Undefined | Value::Null => None,
            Value::String( text ) => Some( ReaderResult::Text( text ) ),
            _ => unreachable!( "Unexpected result of a FileReader: {:?}", result )
        }
    }
pub fn result ( & self ) -> Option < ReaderResult > { let result = js ! ( return { self } result ) ; match result { Value :: Undefined | Value :: Null => None , Value :: String ( text ) => Some ( ReaderResult :: Text ( text ) ) , _ => unreachable ! ( " " result ) } }
The file's contents.
The file ' s contents .
&self
&self