[−][src]Struct cdrs::events::Listener
Listener
provides only one function start
to start listening. It
blocks a thread so should be moved into a separate one to no release
main thread.
Methods
impl<X: CDRSTransport + 'static> Listener<RefCell<X>>
[src]
pub fn start(self, compressor: &Compression) -> Result<()>
[src]
It starts a process of listening to new events. Locks a frame.
Auto Trait Implementations
impl<X> !RefUnwindSafe for Listener<X>
impl<X> Send for Listener<X> where
X: Send,
X: Send,
impl<X> !Sync for Listener<X>
impl<X> Unpin for Listener<X> where
X: Unpin,
X: Unpin,
impl<X> !UnwindSafe for Listener<X>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,