Struct sshpuffin::libssh::ssh::SshBindRef
source · pub struct SshBindRef(Opaque);
Expand description
A borrowed reference to a SshBind
.
Tuple Fields§
§0: Opaque
Implementations§
source§impl SshBindRef
impl 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 Fallible for SshBindRef
impl Fallible for SshBindRef
source§impl ForeignTypeRef for SshBindRef
impl ForeignTypeRef for SshBindRef
impl Send for SshBindRef
impl Sync for SshBindRef
Auto Trait Implementations§
impl Freeze for SshBindRef
impl !RefUnwindSafe for SshBindRef
impl Unpin for SshBindRef
impl UnwindSafe for SshBindRef
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.