pub trait AggregatorPadExt: IsA<AggregatorPad> + 'static {
Show 14 methods
// Provided methods
fn drop_buffer(&self) -> bool { ... }
fn has_buffer(&self) -> bool { ... }
fn is_eos(&self) -> bool { ... }
fn is_inactive(&self) -> bool { ... }
fn peek_buffer(&self) -> Option<Buffer> { ... }
fn pop_buffer(&self) -> Option<Buffer> { ... }
fn current_level_buffers(&self) -> u64 { ... }
fn current_level_bytes(&self) -> u64 { ... }
fn emits_signals(&self) -> bool { ... }
fn set_emit_signals(&self, emit_signals: bool) { ... }
fn connect_buffer_consumed<F: Fn(&Self, &Buffer) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_current_level_buffers_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_current_level_bytes_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_emit_signals_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Provided Methods§
fn drop_buffer(&self) -> bool
fn has_buffer(&self) -> bool
Available on crate feature
v1_14_1
only.fn is_eos(&self) -> bool
fn is_inactive(&self) -> bool
Available on crate feature
v1_20
only.fn peek_buffer(&self) -> Option<Buffer>
fn pop_buffer(&self) -> Option<Buffer>
fn current_level_buffers(&self) -> u64
Available on crate feature
v1_28
only.fn current_level_bytes(&self) -> u64
Available on crate feature
v1_28
only.fn emits_signals(&self) -> bool
Available on crate feature
v1_16
only.fn set_emit_signals(&self, emit_signals: bool)
Available on crate feature
v1_16
only.fn connect_buffer_consumed<F: Fn(&Self, &Buffer) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_current_level_buffers_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
Available on crate feature
v1_28
only.fn connect_current_level_bytes_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
Available on crate feature
v1_28
only.fn connect_emit_signals_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
Available on crate feature
v1_16
only.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.