pub struct CommChannelsEvent {
pub identifier: usize,
pub kind: CommChannelKind,
}
Expand description
Event on a communication channel
Fields§
§identifier: usize
Communication channel identifier
kind: CommChannelKind
Kind of communication channel (progress / data)
Trait Implementations§
Source§impl Clone for CommChannelsEvent
impl Clone for CommChannelsEvent
Source§fn clone(&self) -> CommChannelsEvent
fn clone(&self) -> CommChannelsEvent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CommChannelsEvent
impl Debug for CommChannelsEvent
Source§impl<'de> Deserialize<'de> for CommChannelsEvent
impl<'de> Deserialize<'de> for CommChannelsEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<CommChannelsEvent> for TimelyEvent
impl From<CommChannelsEvent> for TimelyEvent
Source§fn from(v: CommChannelsEvent) -> TimelyEvent
fn from(v: CommChannelsEvent) -> TimelyEvent
Converts to this type from the input type.
Source§impl Hash for CommChannelsEvent
impl Hash for CommChannelsEvent
Source§impl Ord for CommChannelsEvent
impl Ord for CommChannelsEvent
Source§fn cmp(&self, other: &CommChannelsEvent) -> Ordering
fn cmp(&self, other: &CommChannelsEvent) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CommChannelsEvent
impl PartialEq for CommChannelsEvent
Source§impl PartialOrd for CommChannelsEvent
impl PartialOrd for CommChannelsEvent
Source§impl Serialize for CommChannelsEvent
impl Serialize for CommChannelsEvent
impl Eq for CommChannelsEvent
impl StructuralPartialEq for CommChannelsEvent
Auto Trait Implementations§
impl Freeze for CommChannelsEvent
impl RefUnwindSafe for CommChannelsEvent
impl Send for CommChannelsEvent
impl Sync for CommChannelsEvent
impl Unpin for CommChannelsEvent
impl UnwindSafe for CommChannelsEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)