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§