Skip to main content

TapCloser

Trait TapCloser 

Source
pub trait TapCloser:
    Debug
    + Send
    + Sync {
    // Required method
    fn close(&self) -> Result<(), RailError>;
}
Expand description

A separately held signal that releases a blocked tap reader.

Required Methods§

Source

fn close(&self) -> Result<(), RailError>

Ends the subscription without a timer or another record.

§Errors

Returns the close failure, after signaling every wait it owns.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§