Enum libpulse_binding::callbacks::ListResult [−][src]
pub enum ListResult<T> { Item(T), End, Error, }
List result instance. Fetching a list can result in a callback being fired for each list item, and then once to signal that the end of the list having been reached. This is used to distinguish such state to a closure callback.
Variants
Item(T)
List item
End
End of list reached
Error
Failure, an error occurred
Auto Trait Implementations
impl<T> Send for ListResult<T> where
T: Send,
impl<T> Send for ListResult<T> where
T: Send,
impl<T> Sync for ListResult<T> where
T: Sync,
impl<T> Sync for ListResult<T> where
T: Sync,