[−][src]Struct libzmq::GroupSlice
A slice to a Group
A GroupSlice
cannot be constructed directly. It is either obtained from a
Group
or from [Msg::group
].
Namely, the length this group identifier must not exceed MAX_GROUP_SIZE
.
Methods
impl GroupSlice
[src]
pub fn as_c_str(&self) -> &CStr
[src]
pub fn to_str(&self) -> Result<&str, Utf8Error>
[src]
pub fn to_string_lossy(&self) -> Cow<str>
[src]
pub fn to_bytes(&self) -> &[u8]
[src]
Trait Implementations
impl AsRef<CStr> for GroupSlice
[src]
impl AsRef<GroupSlice> for Group
[src]
fn as_ref(&self) -> &GroupSlice
[src]
impl Borrow<GroupSlice> for Group
[src]
fn borrow(&self) -> &GroupSlice
[src]
impl Debug for GroupSlice
[src]
impl Deref for GroupSlice
[src]
impl<'a> Display for &'a GroupSlice
[src]
impl Eq for GroupSlice
[src]
impl<'a> From<&'a Group> for &'a GroupSlice
[src]
impl<'a> From<&'a GroupSlice> for Group
[src]
fn from(s: &'a GroupSlice) -> Self
[src]
impl Hash for GroupSlice
[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<'a> IntoIterator for &'a GroupSlice
[src]
type Item = &'a GroupSlice
The type of the elements being iterated over.
type IntoIter = IntoIter<&'a GroupSlice>
Which kind of iterator are we turning this into?