mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Implements name method for FilerReader event from trait Runnable
This commit is contained in:
parent
2a60c97f8a
commit
48fe15206e
1 changed files with 2 additions and 0 deletions
|
@ -380,6 +380,8 @@ pub enum FileReaderEvent {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Runnable for FileReaderEvent {
|
impl Runnable for FileReaderEvent {
|
||||||
|
fn name(&self) -> &'static str { "FileReaderEvent" }
|
||||||
|
|
||||||
fn handler(self: Box<FileReaderEvent>) {
|
fn handler(self: Box<FileReaderEvent>) {
|
||||||
let file_reader_event = *self;
|
let file_reader_event = *self;
|
||||||
match file_reader_event {
|
match file_reader_event {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue