Struct cocaine::service::unicorn::Close[][src]

pub struct Close { /* fields omitted */ }

A close handle for some Unicorn events.

Some streams are required to be closed to cancel the operation, for example to unlock the node or to unsubscribe from notifications, otherwise a resource can leak. This handle does it automatically on destruction. To close the channel manually use drop function from the standard library.

Methods

impl Close
[src]

Closes this handle, notifying a service side that we're no longer interested in receiving updates.

Trait Implementations

impl Debug for Close
[src]

Formats the value using the given formatter. Read more

impl Drop for Close
[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl Send for Close

impl Sync for Close