Function transportation::remove_listener[][src]

pub fn remove_listener(idx: usize) -> bool

Remove a previously registered listener. Returns true if a listener was removed and false otherwise. Note: The Evented item must still be removed from the poll separately.