[][src]Struct revent::Manager

pub struct Manager(_);

Inspects how various Nodes use slots.

Manager is active when subscribing to Anchor. It inspects the various listens and emits and ensures that there are no cycles created between nodes.

Unsubscribing items does not remove the channel dependencies from the manager. This is intentional to discourage juggling subscriptions to fit the dependency chain.

Panics

Will panic if there exists any subscriber cycle. Cycle detection occurs only during Anchor::subscribe. Emitting will not perform any cycle detection.

Methods

impl Manager[src]

pub fn new() -> Self[src]

Create a new manager.

Trait Implementations

impl Clone for Manager[src]

impl Debug for Manager[src]

impl Default for Manager[src]

Auto Trait Implementations

impl !RefUnwindSafe for Manager

impl !Send for Manager

impl !Sync for Manager

impl Unpin for Manager

impl !UnwindSafe for Manager

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.