subspace_farmer::farm

Trait HandlerId

Source
pub trait HandlerId:
    Send
    + Sync
    + Debug {
    // Required method
    fn detach(&self);
}
Expand description

Opaque handler ID for event handlers, once dropped handler will be removed automatically

Required Methods§

Source

fn detach(&self)

Consumes HandlerId and prevents handler from being removed automatically.

Implementations on Foreign Types§

Source§

impl HandlerId for HandlerId

Source§

fn detach(&self)

Implementors§