Struct fsevent_stream::stream::EventStreamHandler[][src]

pub struct EventStreamHandler { /* fields omitted */ }
Expand description

An owned permission to stop an EventStream and terminate its backing RunLoop.

A EventStreamHandler detaches the associated Stream and RunLoop when it is dropped, which means that there is no longer any handle to them and no way to abort them.

Dropping the handler without first calling abort is not recommended because this leaves a spawned thread behind and causes memory leaks.

Implementations

Stop an EventStream and terminate its backing RunLoop.

Calling this method multiple times has no extra effect and won’t cause any panic, error, or undefined behavior.

Trait Implementations

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.