[][src]Struct libzmq::GroupSlice

pub struct GroupSlice { /* fields omitted */ }

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]

impl Borrow<GroupSlice> for Group[src]

impl Debug for GroupSlice[src]

impl Deref for GroupSlice[src]

type Target = CStr

The resulting type after dereferencing.

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]

impl Hash for GroupSlice[src]

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?

impl<'a, '_> PartialEq<&'_ GroupSlice> for Group[src]

impl PartialEq<Group> for GroupSlice[src]

impl<'_> PartialEq<Group> for &'_ GroupSlice[src]

impl PartialEq<GroupSlice> for GroupSlice[src]

impl PartialEq<GroupSlice> for str[src]

impl<'a> PartialEq<GroupSlice> for Group[src]

impl PartialEq<str> for GroupSlice[src]

impl StructuralEq for GroupSlice[src]

impl StructuralPartialEq for GroupSlice[src]

impl ToOwned for GroupSlice[src]

type Owned = Group

The resulting type after obtaining ownership.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.