[−][src]Struct actyxos_sdk::event::SourceId
A source ID uniquely identifies one ActyxOS node
You can obtain the node’s source ID using EventService::node_id
.
It is mostly used in creating specific event stream queries involving
Subscription::local
.
Implementations
impl SourceId
[src]
pub fn new(s: String) -> Result<Self, ParseError>
[src]
pub fn as_str(&self) -> &str
[src]
pub fn is_wildcard(&self) -> bool
[src]
pub fn is_empty(&self) -> bool
[src]
true if the string representation of the source id is the empty string
Trait Implementations
impl Abomonation for SourceId
[src]
unsafe fn entomb<W: Write>(&self, _write: &mut W) -> Result<()>
[src]
fn extent(&self) -> usize
[src]
unsafe fn exhume<'a, 'b>(
&'a mut self,
bytes: &'b mut [u8]
) -> Option<&'b mut [u8]>
[src]
&'a mut self,
bytes: &'b mut [u8]
) -> Option<&'b mut [u8]>
impl Clone for SourceId
[src]
impl Copy for SourceId
[src]
impl Debug for SourceId
[src]
impl<'de> Deserialize<'de> for SourceId
[src]
fn deserialize<D: Deserializer<'de>>(
deserializer: D
) -> Result<SourceId, D::Error>
[src]
deserializer: D
) -> Result<SourceId, D::Error>
impl Display for SourceId
[src]
impl Eq for SourceId
[src]
impl FromStr for SourceId
[src]
type Err = ParseError
The associated error which can be returned from parsing.
fn from_str(text: &str) -> Result<SourceId, ParseError>
[src]
impl Hash for SourceId
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for SourceId
[src]
fn cmp(&self, other: &SourceId) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<SourceId> for SourceId
[src]
impl PartialOrd<SourceId> for SourceId
[src]
fn partial_cmp(&self, other: &SourceId) -> Option<Ordering>
[src]
fn lt(&self, other: &SourceId) -> bool
[src]
fn le(&self, other: &SourceId) -> bool
[src]
fn gt(&self, other: &SourceId) -> bool
[src]
fn ge(&self, other: &SourceId) -> bool
[src]
impl Serialize for SourceId
[src]
impl StructuralEq for SourceId
[src]
impl StructuralPartialEq for SourceId
[src]
impl<'_> TryFrom<&'_ str> for SourceId
[src]
Auto Trait Implementations
impl RefUnwindSafe for SourceId
impl Send for SourceId
impl Sync for SourceId
impl Unpin for SourceId
impl UnwindSafe for SourceId
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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<Src, Dst> LosslessTryInto<Dst> for Src where
Dst: LosslessTryFrom<Src>,
[src]
Dst: LosslessTryFrom<Src>,
fn lossless_try_into(self) -> Option<Dst>
[src]
impl<Src, Dst> LossyInto<Dst> for Src where
Dst: LossyFrom<Src>,
[src]
Dst: LossyFrom<Src>,
fn lossy_into(self) -> Dst
[src]
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,