[−][src]Struct libzmq::Group
A str
slice that is a valid ØMQ group identifier.
Namely, the length this group identifier must not exceed MAX_GROUP_SIZE
.
Example
use libzmq::Group; use std::convert::TryInto; let group: &Group = "some group".try_into()?; let result: Result<&Group, _> = "group that exceed the char limit".try_into(); assert!(result.is_err());
Methods
impl Group
[src]
Trait Implementations
impl PartialEq<Group> for Group
[src]
impl PartialEq<str> for Group
[src]
fn eq(&self, other: &str) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=
.
impl PartialEq<Group> for str
[src]
fn eq(&self, other: &Group) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=
.
impl<'a> PartialEq<GroupOwned> for Group
[src]
fn eq(&self, other: &GroupOwned) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=
.
impl<'a> PartialEq<Group> for GroupOwned
[src]
fn eq(&self, other: &Group) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=
.
impl AsRef<str> for Group
[src]
impl AsRef<Group> for GroupOwned
[src]
impl<'a> From<&'a GroupOwned> for &'a Group
[src]
fn from(s: &'a GroupOwned) -> Self
[src]
impl<'a> From<&'a Group> for GroupOwned
[src]
impl ToOwned for Group
[src]
type Owned = GroupOwned
The resulting type after obtaining ownership.
fn to_owned(&self) -> Self::Owned
[src]
fn clone_into(&self, target: &mut Self::Owned)
[src]
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<'a> IntoIterator for &'a Group
[src]
type Item = &'a Group
The type of the elements being iterated over.
type IntoIter = IntoIter<&'a Group>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl Eq for Group
[src]
impl Debug for Group
[src]
impl<'a> Display for &'a Group
[src]
impl<'a> TryFrom<&'a str> for &'a Group
[src]
type Error = GroupParseError
The type returned in the event of a conversion error.
fn try_from(value: &'a str) -> Result<Self, Self::Error>
[src]
impl<'a> TryFrom<&'a String> for &'a Group
[src]
type Error = GroupParseError
The type returned in the event of a conversion error.
fn try_from(value: &'a String) -> Result<Self, Self::Error>
[src]
impl Deref for Group
[src]
impl Hash for Group
[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,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Borrow<Group> for GroupOwned
[src]
Auto Trait Implementations
Blanket Implementations
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> 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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,