Struct openssh_sftp_client::HandleOwned
source · [−]pub struct HandleOwned(_);
Methods from Deref<Target = Handle>
pub fn into_inner(&self) -> &[u8]ⓘNotable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
Trait Implementations
sourceimpl AsRef<Handle> for HandleOwned
impl AsRef<Handle> for HandleOwned
sourceimpl Borrow<Handle> for HandleOwned
impl Borrow<Handle> for HandleOwned
sourceimpl Clone for HandleOwned
impl Clone for HandleOwned
sourcepub fn clone(&self) -> HandleOwned
pub fn clone(&self) -> HandleOwned
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 HandleOwned
impl Debug for HandleOwned
sourceimpl Deref for HandleOwned
impl Deref for HandleOwned
Auto Trait Implementations
impl RefUnwindSafe for HandleOwned
impl Send for HandleOwned
impl Sync for HandleOwned
impl Unpin for HandleOwned
impl UnwindSafe for HandleOwned
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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