[−][src]Struct libzmq::GroupOwned
An owned String
that is a valid ØMQ group identifier.
Namely, the length this group identifier must not exceed MAX_GROUP_SIZE
.
Example
use libzmq::GroupOwned; use std::convert::TryInto; let string = "abc".to_owned(); let group: GroupOwned = string.try_into()?; assert_eq!(group.as_str(), "abc");
Methods from Deref<Target = Group>
Trait Implementations
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]
This method tests for !=
.
impl PartialEq<GroupOwned> for GroupOwned
[src]
fn eq(&self, other: &GroupOwned) -> bool
[src]
fn ne(&self, other: &GroupOwned) -> bool
[src]
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]
This method tests for !=
.
impl PartialEq<str> for GroupOwned
[src]
fn eq(&self, other: &str) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl PartialEq<GroupOwned> for str
[src]
fn eq(&self, other: &GroupOwned) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl<'a> PartialEq<&'a str> for GroupOwned
[src]
fn eq(&self, other: &&'a str) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl<'a> PartialEq<GroupOwned> for &'a str
[src]
fn eq(&self, other: &GroupOwned) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
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 From<GroupOwned> for String
[src]
fn from(g: GroupOwned) -> String
[src]
impl<'a> From<&'a GroupOwned> for GroupOwned
[src]
fn from(g: &'a GroupOwned) -> GroupOwned
[src]
impl Clone for GroupOwned
[src]
fn clone(&self) -> GroupOwned
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl IntoIterator for GroupOwned
[src]
type Item = GroupOwned
The type of the elements being iterated over.
type IntoIter = IntoIter<GroupOwned>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl<'a> IntoIterator for &'a GroupOwned
[src]
type Item = &'a GroupOwned
The type of the elements being iterated over.
type IntoIter = IntoIter<&'a GroupOwned>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl Eq for GroupOwned
[src]
impl Debug for GroupOwned
[src]
impl Display for GroupOwned
[src]
impl FromStr for GroupOwned
[src]
type Err = GroupParseError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
impl TryFrom<String> for GroupOwned
[src]
type Error = GroupParseError
The type returned in the event of a conversion error.
fn try_from(value: String) -> Result<Self, Self::Error>
[src]
impl<'a> TryFrom<&'a String> for GroupOwned
[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<'a> TryFrom<&'a str> for GroupOwned
[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 Deref for GroupOwned
[src]
impl Hash for GroupOwned
[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]
impl Serialize for GroupOwned
[src]
impl<'de> Deserialize<'de> for GroupOwned
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Auto Trait Implementations
impl Send for GroupOwned
impl Sync for GroupOwned
Blanket Implementations
impl<T> From<T> for T
[src]
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<I> IntoIterator for I where
I: Iterator,
[src]
I: Iterator,
type Item = <I as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = I
Which kind of iterator are we turning this into?
fn into_iter(self) -> I
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[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,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,