pub enum DataSpecifier {
Message(SubjectId),
Request(ServiceId),
Response(ServiceId),
}Expand description
Encodes the semantic properties of the data type carried by a transfer and its kind
Variants§
Trait Implementations§
Source§impl Clone for DataSpecifier
impl Clone for DataSpecifier
Source§fn clone(&self) -> DataSpecifier
fn clone(&self) -> DataSpecifier
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DataSpecifier
Source§impl Debug for DataSpecifier
impl Debug for DataSpecifier
impl Eq for DataSpecifier
Source§impl Ord for DataSpecifier
impl Ord for DataSpecifier
Source§fn cmp(&self, other: &DataSpecifier) -> Ordering
fn cmp(&self, other: &DataSpecifier) -> Ordering
1.21.0 (const: unstable) · 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 DataSpecifier
impl PartialEq for DataSpecifier
Source§fn eq(&self, other: &DataSpecifier) -> bool
fn eq(&self, other: &DataSpecifier) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DataSpecifier
impl PartialOrd for DataSpecifier
impl StructuralPartialEq for DataSpecifier
Auto Trait Implementations§
impl Freeze for DataSpecifier
impl RefUnwindSafe for DataSpecifier
impl Send for DataSpecifier
impl Sync for DataSpecifier
impl Unpin for DataSpecifier
impl UnsafeUnpin for DataSpecifier
impl UnwindSafe for DataSpecifier
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