Enum cometd_client::types::CometdClientEvent
source · pub enum CometdClientEvent<Msg> {
Message(Arc<[Data<Msg>]>),
Error(Arc<CometdError>),
}
Expand description
Events getting from event receiver channel.
Variants§
Trait Implementations§
source§impl<Msg> Clone for CometdClientEvent<Msg>
impl<Msg> Clone for CometdClientEvent<Msg>
Auto Trait Implementations§
impl<Msg> !RefUnwindSafe for CometdClientEvent<Msg>
impl<Msg> Send for CometdClientEvent<Msg>where Msg: Send + Sync,
impl<Msg> Sync for CometdClientEvent<Msg>where Msg: Send + Sync,
impl<Msg> Unpin for CometdClientEvent<Msg>
impl<Msg> !UnwindSafe for CometdClientEvent<Msg>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more