Struct openssh_mux_client::NonZeroByteVec
source · [−]#[repr(transparent)]pub struct NonZeroByteVec(_);
Implementations
sourceimpl NonZeroByteVec
impl NonZeroByteVec
Methods from Deref<Target = NonZeroByteSlice>
pub fn into_inner(&self) -> &[u8]ⓘNotable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
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 Clone for NonZeroByteVec
impl Clone for NonZeroByteVec
sourcefn clone(&self) -> NonZeroByteVec
fn clone(&self) -> NonZeroByteVec
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NonZeroByteVec
impl Debug for NonZeroByteVec
sourceimpl Deref for NonZeroByteVec
impl Deref for NonZeroByteVec
type Target = NonZeroByteSlice
type Target = NonZeroByteSlice
The resulting type after dereferencing.
sourceimpl From<&'_ NonZeroByteSlice> for NonZeroByteVec
impl From<&'_ NonZeroByteSlice> for NonZeroByteVec
sourcefn from(slice: &NonZeroByteSlice) -> Self
fn from(slice: &NonZeroByteSlice) -> Self
Performs the conversion.
sourceimpl From<CString> for NonZeroByteVec
impl From<CString> for NonZeroByteVec
sourceimpl Hash for NonZeroByteVec
impl Hash for NonZeroByteVec
sourceimpl PartialEq<NonZeroByteVec> for NonZeroByteVec
impl PartialEq<NonZeroByteVec> for NonZeroByteVec
sourcefn eq(&self, other: &NonZeroByteVec) -> bool
fn eq(&self, other: &NonZeroByteVec) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NonZeroByteVec) -> bool
fn ne(&self, other: &NonZeroByteVec) -> bool
This method tests for !=
.
sourceimpl Serialize for NonZeroByteVec
impl Serialize for NonZeroByteVec
sourceimpl TryFrom<String> for NonZeroByteVec
impl TryFrom<String> for NonZeroByteVec
impl Eq for NonZeroByteVec
impl StructuralEq for NonZeroByteVec
impl StructuralPartialEq for NonZeroByteVec
Auto Trait Implementations
impl RefUnwindSafe for NonZeroByteVec
impl Send for NonZeroByteVec
impl Sync for NonZeroByteVec
impl Unpin for NonZeroByteVec
impl UnwindSafe for NonZeroByteVec
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more