pub struct AsyncSftpManagerWithTokioTcpStream(pub AsyncSessionManagerWithTokioTcpStream);Tuple Fields§
§0: AsyncSessionManagerWithTokioTcpStreamTrait Implementations§
source§impl Clone for AsyncSftpManagerWithTokioTcpStream
impl Clone for AsyncSftpManagerWithTokioTcpStream
source§fn clone(&self) -> AsyncSftpManagerWithTokioTcpStream
fn clone(&self) -> AsyncSftpManagerWithTokioTcpStream
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl ManageConnection for AsyncSftpManagerWithTokioTcpStream
impl ManageConnection for AsyncSftpManagerWithTokioTcpStream
§type Connection = AsyncSftp<TcpStream>
type Connection = AsyncSftp<TcpStream>
The connection type this manager deals with.
§type Error = AsyncSftpManagerError
type Error = AsyncSftpManagerError
The error type returned by
Connections.source§fn connect<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Self::Connection, Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn connect<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Self::Connection, Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Attempts to create a new connection.
source§fn is_valid<'life0, 'life1, 'async_trait>(
&'life0 self,
_conn: &'life1 mut Self::Connection
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn is_valid<'life0, 'life1, 'async_trait>(
&'life0 self,
_conn: &'life1 mut Self::Connection
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Determines if the connection is still connected to the database.
source§fn has_broken(&self, _conn: &mut Self::Connection) -> bool
fn has_broken(&self, _conn: &mut Self::Connection) -> bool
Synchronously determine if the connection is no longer usable, if possible.