Trait RemoveFilterExt

Source
pub trait RemoveFilterExt:
    IsA<RemoveFilter>
    + Sealed
    + 'static {
Show 17 methods // Provided methods fn tick_time(&self) -> u32 { ... } fn set_tick_time(&self, tick_time: u32) { ... } fn channel(&self) -> u8 { ... } fn set_channel(&self, channel: u8) { ... } fn destination(&self) -> Option<Addr> { ... } fn set_destination(&self, destination: Option<&Addr>) { ... } fn event_type(&self) -> EventType { ... } fn set_event_type(&self, event_type: EventType) { ... } fn flags(&self) -> RemoveFilterFlag { ... } fn set_flags(&self, flags: RemoveFilterFlag) { ... } fn queue_id(&self) -> u8 { ... } fn set_queue_id(&self, queue_id: u8) { ... } fn connect_channel_notify<F: Fn(&Self) + Send + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_destination_notify<F: Fn(&Self) + Send + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_event_type_notify<F: Fn(&Self) + Send + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_flags_notify<F: Fn(&Self) + Send + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_queue_id_notify<F: Fn(&Self) + Send + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all RemoveFilter methods.

§Implementors

RemoveFilter

Provided Methods§

Source

fn tick_time(&self) -> u32

Refer to tick count in internal storage. The call works expectedly as long as flags contains RemoveFilterFlag.TICK. This is evaluated with RemoveFilterFlag.TIME_BEFORE and RemoveFilterFlag.TIME_AFTER at call of UserClientExt::remove_events().

§Returns
§tick_time

The count of tick.

Source

fn set_tick_time(&self, tick_time: u32)

Copy tick count into internal storage. The call works expectedly as long as flags contains RemoveFilterFlag.TICK. This is evaluated with RemoveFilterFlag.TIME_BEFORE and RemoveFilterFlag.TIME_AFTER at call of UserClientExt::remove_events().

§tick_time

The count of tick.

Source

fn channel(&self) -> u8

The channel of event as filter condition. This is evaluated with RemoveFilterFlag.DEST_CHANNEL at call of UserClientExt::remove_events().

Source

fn set_channel(&self, channel: u8)

The channel of event as filter condition. This is evaluated with RemoveFilterFlag.DEST_CHANNEL at call of UserClientExt::remove_events().

Source

fn destination(&self) -> Option<Addr>

The destionation of event as filter condition. This is evaluated with RemoveFilterFlag.DEST at call of UserClientExt::remove_events().

Source

fn set_destination(&self, destination: Option<&Addr>)

The destionation of event as filter condition. This is evaluated with RemoveFilterFlag.DEST at call of UserClientExt::remove_events().

Source

fn event_type(&self) -> EventType

The type of event as filter condition. This is evaluated with RemoveFilterFlag.EVENT_TYPE at call of UserClientExt::remove_events().

Source

fn set_event_type(&self, event_type: EventType)

The type of event as filter condition. This is evaluated with RemoveFilterFlag.EVENT_TYPE at call of UserClientExt::remove_events().

Source

fn flags(&self) -> RemoveFilterFlag

The set of flags to filter events. They decide how to evaluate included data at call of UserClientExt::remove_events().

Source

fn set_flags(&self, flags: RemoveFilterFlag)

The set of flags to filter events. They decide how to evaluate included data at call of UserClientExt::remove_events().

Source

fn queue_id(&self) -> u8

The numeric identifier of queue as filter condition. This is always evaluated at call of UserClientExt::remove_events().

Source

fn set_queue_id(&self, queue_id: u8)

The numeric identifier of queue as filter condition. This is always evaluated at call of UserClientExt::remove_events().

Source

fn connect_channel_notify<F: Fn(&Self) + Send + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_destination_notify<F: Fn(&Self) + Send + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_event_type_notify<F: Fn(&Self) + Send + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_flags_notify<F: Fn(&Self) + Send + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_queue_id_notify<F: Fn(&Self) + Send + 'static>( &self, f: F, ) -> SignalHandlerId

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§