Struct gstreamer::Bus [−]
pub struct Bus(_, _);
Methods
impl Bus
[src]
impl Bus
pub fn new() -> Bus
[src]
pub fn new() -> Bus
pub 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) -> bool
pub 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) -> bool
pub 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
) -> SignalHandlerId
pub 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
) -> SignalHandlerId
pub 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
) -> SignalHandlerId
impl Bus
[src]
impl Bus
pub 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 Bus
fn clone(&self) -> Bus
fn clone(&self) -> Bus
Returns 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 Bus
fn 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 Bus
fn cmp(&self, other: &Bus) -> Ordering
fn cmp(&self, other: &Bus) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl StaticType for Bus
impl StaticType for Bus
fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for Bus
impl<T: IsA<Object>> PartialEq<T> for Bus
fn eq(&self, other: &T) -> bool
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Eq for Bus
impl Eq for Bus
impl<T: IsA<Object>> PartialOrd<T> for Bus
impl<T: IsA<Object>> PartialOrd<T> for Bus
fn 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) -> bool
1.0.0[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
This 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) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
This 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 Bus
impl IsA<Object> for Bus
impl IsA<Object> for Bus
impl IsA<Object> for Bus
impl IsA<Object> for Bus
impl Default for Bus
[src]
impl Default for Bus
impl Send for Bus
[src]
impl Send for Bus
impl Sync for Bus
[src]
impl Sync for Bus
impl UnixBusExtManual for Bus
[src]
impl UnixBusExtManual for Bus
fn get_pollfd(&self) -> RawFd
[src]
fn get_pollfd(&self) -> RawFd
This is supported on Unix only.