Struct openssh_mux_client::NonZeroByteSlice
source · [−]#[repr(transparent)]pub struct NonZeroByteSlice(_);
Implementations
Trait Implementations
sourceimpl Borrow<NonZeroByteSlice> for NonZeroByteVec
impl Borrow<NonZeroByteSlice> for NonZeroByteVec
sourcefn borrow(&self) -> &NonZeroByteSlice
fn borrow(&self) -> &NonZeroByteSlice
Immutably borrows from an owned value. Read more
sourceimpl Debug for NonZeroByteSlice
impl Debug for NonZeroByteSlice
sourceimpl From<&'_ NonZeroByteSlice> for NonZeroByteVec
impl From<&'_ NonZeroByteSlice> for NonZeroByteVec
sourcefn from(slice: &NonZeroByteSlice) -> Self
fn from(slice: &NonZeroByteSlice) -> Self
Performs the conversion.
sourceimpl<'a> From<&'a CStr> for &'a NonZeroByteSlice
impl<'a> From<&'a CStr> for &'a NonZeroByteSlice
sourceimpl Hash for NonZeroByteSlice
impl Hash for NonZeroByteSlice
sourceimpl PartialEq<NonZeroByteSlice> for NonZeroByteSlice
impl PartialEq<NonZeroByteSlice> for NonZeroByteSlice
sourcefn eq(&self, other: &NonZeroByteSlice) -> bool
fn eq(&self, other: &NonZeroByteSlice) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NonZeroByteSlice) -> bool
fn ne(&self, other: &NonZeroByteSlice) -> bool
This method tests for !=
.
sourceimpl Serialize for NonZeroByteSlice
impl Serialize for NonZeroByteSlice
sourceimpl ToOwned for NonZeroByteSlice
impl ToOwned for NonZeroByteSlice
type Owned = NonZeroByteVec
type Owned = NonZeroByteVec
The resulting type after obtaining ownership.
sourcefn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
sourcefn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more