#[repr(transparent)]pub struct SshBind(NonNull<ssh_bind_struct>);
Tuple Fields§
§0: NonNull<ssh_bind_struct>
Implementations§
Methods from Deref<Target = SshBindRef>§
sourcepub fn set_options_str(
&mut self,
typ: ssh_bind_options_e,
value: &str,
) -> Result<(), String>
pub fn set_options_str( &mut self, typ: ssh_bind_options_e, value: &str, ) -> Result<(), String>
ssh_bind_options_set
sourcepub fn set_options_int(
&mut self,
typ: ssh_bind_options_e,
value: i32,
) -> Result<(), String>
pub fn set_options_int( &mut self, typ: ssh_bind_options_e, value: i32, ) -> Result<(), String>
ssh_bind_options_set
sourcepub fn set_options_key(
&mut self,
typ: ssh_bind_options_e,
value: SshKey,
) -> Result<(), String>
pub fn set_options_key( &mut self, typ: ssh_bind_options_e, value: SshKey, ) -> Result<(), String>
ssh_bind_options_set
sourcepub fn set_blocking(&mut self, blocking: bool)
pub fn set_blocking(&mut self, blocking: bool)
ssh_bind_set_blocking
Trait Implementations§
source§impl AsMut<SshBindRef> for SshBind
impl AsMut<SshBindRef> for SshBind
source§fn as_mut(&mut self) -> &mut SshBindRef
fn as_mut(&mut self) -> &mut SshBindRef
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsRef<SshBindRef> for SshBind
impl AsRef<SshBindRef> for SshBind
source§fn as_ref(&self) -> &SshBindRef
fn as_ref(&self) -> &SshBindRef
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Borrow<SshBindRef> for SshBind
impl Borrow<SshBindRef> for SshBind
source§fn borrow(&self) -> &SshBindRef
fn borrow(&self) -> &SshBindRef
Immutably borrows from an owned value. Read more
source§impl BorrowMut<SshBindRef> for SshBind
impl BorrowMut<SshBindRef> for SshBind
source§fn borrow_mut(&mut self) -> &mut SshBindRef
fn borrow_mut(&mut self) -> &mut SshBindRef
Mutably borrows from an owned value. Read more
source§impl Deref for SshBind
impl Deref for SshBind
source§type Target = SshBindRef
type Target = SshBindRef
The resulting type after dereferencing.
source§fn deref(&self) -> &SshBindRef
fn deref(&self) -> &SshBindRef
Dereferences the value.
source§impl DerefMut for SshBind
impl DerefMut for SshBind
source§fn deref_mut(&mut self) -> &mut SshBindRef
fn deref_mut(&mut self) -> &mut SshBindRef
Mutably dereferences the value.
source§impl ForeignType for SshBind
impl ForeignType for SshBind
impl Send for SshBind
impl Sync for SshBind
Auto Trait Implementations§
impl Freeze for SshBind
impl RefUnwindSafe for SshBind
impl Unpin for SshBind
impl UnwindSafe for SshBind
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
§type PreprendResult = Tail
type PreprendResult = Tail
The Resulting [
TupleList
], of an [Prepend::prepend()
] call,
including the prepended entry.