Skip to main content

LimitWire

Trait LimitWire 

pub trait LimitWire:
    Send
    + Sync
    + Debug {
    // Required method
    fn send_limit(
        &self,
        op: u8,
        name: &str,
        ticket: u64,
        a: u32,
        b: f64,
        priority: &Priority,
    ) -> Result<()>;
}
Expand description

Sends limit requests to the server. priority matters only for op::ACQUIRE.

Required Methods§

fn send_limit( &self, op: u8, name: &str, ticket: u64, a: u32, b: f64, priority: &Priority, ) -> Result<()>

Implementors§