Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AspectUnk/russh-sftp
/ functions
Functions
276 in github.com/AspectUnk/russh-sftp
⨍
Functions
276
◇
Types & classes
74
Function
data_deserialize
Deserilization of a [`Vec`] without length. Usually reads until the end byte or end of the packet because the size is unknown.
src/de.rs:22
Function
data_serialize
Serialization of a [`Vec`] without length.
src/ser.rs:26
Method
default
()
src/client/mod.rs:42
Method
default
()
src/protocol/file_attrs.rs:299
Method
default
()
src/protocol/version.rs:24
Method
default
()
src/protocol/init.rs:24
Method
default
()
src/server/mod.rs:41
Method
default
()
examples/server.rs:28
Method
deserialize_bool
(self, _visitor: V)
src/de.rs:64
Method
deserialize_byte_buf
(self, visitor: V)
src/de.rs:169
Method
deserialize_char
(self, _visitor: V)
src/de.rs:141
Method
deserialize_enum
( self, _name: &'static str, _variants: &'static [&'static str], visitor: V,
src/de.rs:264
Method
deserialize_f32
(self, _visitor: V)
src/de.rs:127
Method
deserialize_f64
(self, _visitor: V)
src/de.rs:134
Method
deserialize_i16
(self, _visitor: V)
src/de.rs:78
Method
deserialize_i32
(self, _visitor: V)
src/de.rs:85
Method
deserialize_i64
(self, _visitor: V)
src/de.rs:92
Method
deserialize_i8
(self, _visitor: V)
src/de.rs:71
Method
deserialize_identifier
(self, _visitor: V)
src/de.rs:276
Method
deserialize_ignored_any
(self, _visitor: V)
src/de.rs:283
Method
deserialize_map
(self, visitor: V)
src/de.rs:245
Method
deserialize_newtype_struct
( self, _name: &'static str, visitor: V, )
src/de.rs:201
Method
deserialize_option
(self, _visitor: V)
src/de.rs:176
Method
deserialize_seq
(self, visitor: V)
src/de.rs:212
Method
deserialize_string
(self, visitor: V)
src/de.rs:155
Method
deserialize_struct
( self, _name: &'static str, fields: &'static [&'static str], visitor: V,
src/de.rs:252
Method
deserialize_tuple_struct
( self, _name: &'static str, len: usize, visitor: V, )
src/de.rs:233
Method
deserialize_u16
(self, _visitor: V)
src/de.rs:106
Method
deserialize_u32
(self, visitor: V)
src/de.rs:113
Method
deserialize_u64
(self, visitor: V)
src/de.rs:120
Method
deserialize_u8
(self, visitor: V)
src/de.rs:99
Method
deserialize_unit
(self, visitor: V)
src/de.rs:183
Method
deserialize_unit_struct
( self, _name: &'static str, visitor: V, )
src/de.rs:190
Method
drop
(&mut self)
src/client/rawsession.rs:746
Method
drop
(&mut self)
src/client/fs/file.rs:136
Method
dummy
Omits `longname` and set dummy `attributes`. This is mainly used for [`crate::server::Handler::realpath`] as per the standard
src/protocol/file.rs:15
Method
empty
Creates a structure with omitted attributes
src/protocol/file_attrs.rs:283
Method
error
(id: u32, status_code: StatusCode)
src/protocol/mod.rs:192
Method
expecting
(&self, formatter: &mut fmt::Formatter)
src/de.rs:31
Method
expecting
(&self, formatter: &mut fmt::Formatter)
src/protocol/file_attrs.rs:407
Method
extended
( &mut self, id: u32, request: String, data: Vec<u8>, )
src/server/handler.rs:251
Method
extended_reply
( &mut self, reply: ExtendedReply, )
src/client/handler.rs:52
Method
extended_reply
(&mut self, reply: ExtendedReply)
src/client/rawsession.rs:91
Method
file_name
Returns the file name for the file that this entry points at.
src/client/fs/dir.rs:16
Method
file_type
Returns the file type for the file that this entry points at.
src/client/fs/dir.rs:21
Method
file_type
Returns the file type
src/protocol/file_attrs.rs:247
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/client/runtime.rs:17
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/protocol/file_attrs.rs:146
Method
from
(error: client::error::Error)
src/error.rs:22
Method
from
(status: Status)
src/client/error.rs:32
Method
from
(limits: LimitsExtension)
src/client/rawsession.rs:105
Method
from
(mode: FileMode)
src/protocol/file_attrs.rs:90
Method
from
(value: OpenFlags)
src/protocol/open.rs:21
Method
from
(status_code: StatusCode)
src/server/reply.rs:37
Method
fs_info
Performs a statvfs on the remote file system path. Returns [`Ok(None)`] if the remote SFTP server does not support `statvfs@openssh.com` extension v2.
src/client/session.rs:269
Method
fsetstat
( &mut self, id: u32, handle: String, attrs: FileAttributes, )
src/server/handler.rs:117
Method
fstat
( &mut self, id: u32, handle: String, )
src/server/handler.rs:94
Method
handle
(&mut self, handle: Handle)
src/client/handler.rs:28
Method
handle
(&mut self, handle: Handle)
src/client/rawsession.rs:79
Method
hardlink
(&self, oldpath: O, newpath: N)
src/client/session.rs:255
Method
hardlink
(&self, oldpath: O, newpath: N)
src/client/rawsession.rs:691
Method
init
( &mut self, version: u32, extensions: HashMap<String, String>, )
src/server/handler.rs:22
Method
is_file
Returns `true` if the file is a file
src/protocol/file_attrs.rs:74
Method
is_human_readable
(&self)
src/ser.rs:216
Method
is_human_readable
(&self)
src/de.rs:290
Method
is_other
Returns `true` if the file has a distinctive type
src/protocol/file_attrs.rs:84
Method
is_readonly
Returns `true` if the file is read-only.
src/protocol/file_attrs.rs:124
Method
is_symlink
Returns `true` if the file is a symlink
src/protocol/file_attrs.rs:79
Method
lstat
( &mut self, id: u32, path: String, )
src/server/handler.rs:83
Function
main
()
examples/server.rs:172
Function
main
()
examples/client.rs:32
Method
metadata
Queries metadata about the remote file.
src/client/fs/file.rs:71
Method
metadata
Returns the metadata for the file that this entry points at.
src/client/fs/dir.rs:26
Method
mkdir
( &mut self, id: u32, path: String, attrs: FileAttributes, )
src/server/handler.rs:164
Method
name
(&mut self, name: Name)
src/client/handler.rs:40
Method
name
(&mut self, name: Name)
src/client/rawsession.rs:71
Method
new
Creates a new session by initializing the protocol and extensions
src/client/session.rs:35
Method
new
(stream: S)
src/client/rawsession.rs:149
Method
new
(session: Arc<RawSftpSession>, handle: String, features: Features)
src/client/fs/file.rs:53
Method
new
Implies the use of longname
src/protocol/file.rs:24
Method
new
()
src/protocol/version.rs:15
Method
new
()
src/protocol/init.rs:15
Method
new
(status_code: StatusCode)
src/server/reply.rs:17
Method
new_client
(&mut self, _: Option<SocketAddr>)
examples/server.rs:18
Method
new_with_config
Creates a new session with custom configuration
src/client/session.rs:43
Method
new_with_config
(stream: S, cfg: Config)
src/client/rawsession.rs:156
Method
newtype_variant_seed
(self, seed: T)
src/de.rs:356
Method
next
(&mut self)
src/client/fs/dir.rs:58
Method
next_element_seed
(&mut self, seed: T)
src/de.rs:303
Method
next_key_seed
(&mut self, seed: K)
src/de.rs:330
Method
next_value_seed
(&mut self, seed: V)
src/de.rs:341
Method
open
( &self, filename: T, flags: OpenFlags, attrs: FileAttributes, )
src/client/rawsession.rs:247
Method
open
( &mut self, id: u32, filename: String, pflags: OpenFlags, attrs: File
src/server/handler.rs:32
Method
opendir
( &mut self, id: u32, path: String, )
src/server/handler.rs:129
Method
opendir
(&mut self, id: u32, path: String)
examples/server.rs:140
Method
path
Returns the full path of the file that this entry points at. The returned path is built by joining the path originally passed to [`SftpSession::read_
src/client/fs/dir.rs:38
Method
poll_complete
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
src/client/fs/file.rs:248
Function
poll_drain_writes
( pending: &mut VecDeque<oneshot::Receiver<SftpResult<Packet>>>, cx: &mut Context<'_>, )
src/client/fs/file.rs:125
Method
poll_flush
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
src/client/fs/file.rs:296
Method
poll_read
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>, )
src/client/fs/file.rs:146
← previous
next →
101–200 of 276, ranked by callers