Struct gstreamer::Bus [−]
pub struct Bus(_, _);
Methods
impl Bus[src]
impl Buspub fn new() -> Bus[src]
pub fn new() -> Buspub fn add_signal_watch(&self)[src]
pub fn add_signal_watch(&self)pub fn disable_sync_message_emission(&self)[src]
pub fn disable_sync_message_emission(&self)pub fn enable_sync_message_emission(&self)[src]
pub fn enable_sync_message_emission(&self)pub fn have_pending(&self) -> bool[src]
pub fn have_pending(&self) -> boolpub fn peek(&self) -> Option<Message>[src]
pub fn peek(&self) -> Option<Message>pub fn pop(&self) -> Option<Message>[src]
pub fn pop(&self) -> Option<Message>pub fn post(&self, message: &Message) -> Result<(), BoolError>[src]
pub fn post(&self, message: &Message) -> Result<(), BoolError>pub fn remove_signal_watch(&self)[src]
pub fn remove_signal_watch(&self)pub fn remove_watch(&self) -> bool[src]
pub fn remove_watch(&self) -> boolpub fn set_flushing(&self, flushing: bool)[src]
pub fn set_flushing(&self, flushing: bool)pub fn timed_pop(&self, timeout: ClockTime) -> Option<Message>[src]
pub fn timed_pop(&self, timeout: ClockTime) -> Option<Message>pub fn connect_message<F: Fn(&Bus, &Message) + Send + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
pub fn connect_message<F: Fn(&Bus, &Message) + Send + 'static>(
&self,
f: F
) -> SignalHandlerIdpub fn connect_sync_message<F: Fn(&Bus, &Message) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
pub fn connect_sync_message<F: Fn(&Bus, &Message) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerIdpub fn connect_property_enable_async_notify<F: Fn(&Bus) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
pub fn connect_property_enable_async_notify<F: Fn(&Bus) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerIdimpl Bus[src]
impl Buspub fn add_signal_watch_full(&self, priority: Priority)[src]
pub fn add_signal_watch_full(&self, priority: Priority)pub fn create_watch<'a, N: Into<Option<&'a str>>, F>(
&self,
name: N,
priority: Priority,
func: F
) -> Source where
F: FnMut(&Bus, &Message) -> Continue + Send + 'static, [src]
pub fn create_watch<'a, N: Into<Option<&'a str>>, F>(
&self,
name: N,
priority: Priority,
func: F
) -> Source where
F: FnMut(&Bus, &Message) -> Continue + Send + 'static, pub fn add_watch<F>(&self, func: F) -> SourceId where
F: FnMut(&Bus, &Message) -> Continue + Send + 'static, [src]
pub fn add_watch<F>(&self, func: F) -> SourceId where
F: FnMut(&Bus, &Message) -> Continue + Send + 'static, pub fn set_sync_handler<F>(&self, func: F) where
F: Fn(&Bus, &Message) -> BusSyncReply + Send + Sync + 'static, [src]
pub fn set_sync_handler<F>(&self, func: F) where
F: Fn(&Bus, &Message) -> BusSyncReply + Send + Sync + 'static, pub fn unset_sync_handler(&self)[src]
pub fn unset_sync_handler(&self)Trait Implementations
impl Clone for Bus
impl Clone for Busfn clone(&self) -> Bus
fn clone(&self) -> BusReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Hash for Bus
impl Hash for Busfn hash<__H: Hasher>(&self, state: &mut __H)
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl Ord for Bus
impl Ord for Busfn cmp(&self, other: &Bus) -> Ordering
fn cmp(&self, other: &Bus) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl StaticType for Bus
impl StaticType for Busfn static_type() -> Type
fn static_type() -> TypeReturns the type identifier of Self.
impl<T: IsA<Object>> PartialEq<T> for Bus
impl<T: IsA<Object>> PartialEq<T> for Busfn eq(&self, other: &T) -> bool
fn eq(&self, other: &T) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Eq for Bus
impl Eq for Busimpl<T: IsA<Object>> PartialOrd<T> for Bus
impl<T: IsA<Object>> PartialOrd<T> for Busfn partial_cmp(&self, other: &T) -> Option<Ordering>
fn partial_cmp(&self, other: &T) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
#[must_use]
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn lt(&self, other: &Rhs) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
#[must_use]
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Debug for Bus
impl Debug for Busimpl IsA<Object> for Bus
impl IsA<Object> for Busimpl IsA<Object> for Bus
impl IsA<Object> for Busimpl Default for Bus[src]
impl Default for Busimpl Send for Bus[src]
impl Send for Busimpl Sync for Bus[src]
impl Sync for Busimpl UnixBusExtManual for Bus[src]
impl UnixBusExtManual for Busfn get_pollfd(&self) -> RawFd[src]
fn get_pollfd(&self) -> RawFdThis is supported on Unix only.