MCPcopy Create free account

hub / github.com/AspectUnk/russh-sftp / functions

Functions276 in github.com/AspectUnk/russh-sftp

Functiondata_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
Functiondata_serialize
Serialization of a [`Vec`] without length.
src/ser.rs:26
Methoddefault
()
src/client/mod.rs:42
Methoddefault
()
src/protocol/file_attrs.rs:299
Methoddefault
()
src/protocol/version.rs:24
Methoddefault
()
src/protocol/init.rs:24
Methoddefault
()
src/server/mod.rs:41
Methoddefault
()
examples/server.rs:28
Methoddeserialize_bool
(self, _visitor: V)
src/de.rs:64
Methoddeserialize_byte_buf
(self, visitor: V)
src/de.rs:169
Methoddeserialize_char
(self, _visitor: V)
src/de.rs:141
Methoddeserialize_enum
( self, _name: &'static str, _variants: &'static [&'static str], visitor: V,
src/de.rs:264
Methoddeserialize_f32
(self, _visitor: V)
src/de.rs:127
Methoddeserialize_f64
(self, _visitor: V)
src/de.rs:134
Methoddeserialize_i16
(self, _visitor: V)
src/de.rs:78
Methoddeserialize_i32
(self, _visitor: V)
src/de.rs:85
Methoddeserialize_i64
(self, _visitor: V)
src/de.rs:92
Methoddeserialize_i8
(self, _visitor: V)
src/de.rs:71
Methoddeserialize_identifier
(self, _visitor: V)
src/de.rs:276
Methoddeserialize_ignored_any
(self, _visitor: V)
src/de.rs:283
Methoddeserialize_map
(self, visitor: V)
src/de.rs:245
Methoddeserialize_newtype_struct
( self, _name: &'static str, visitor: V, )
src/de.rs:201
Methoddeserialize_option
(self, _visitor: V)
src/de.rs:176
Methoddeserialize_seq
(self, visitor: V)
src/de.rs:212
Methoddeserialize_string
(self, visitor: V)
src/de.rs:155
Methoddeserialize_struct
( self, _name: &'static str, fields: &'static [&'static str], visitor: V,
src/de.rs:252
Methoddeserialize_tuple_struct
( self, _name: &'static str, len: usize, visitor: V, )
src/de.rs:233
Methoddeserialize_u16
(self, _visitor: V)
src/de.rs:106
Methoddeserialize_u32
(self, visitor: V)
src/de.rs:113
Methoddeserialize_u64
(self, visitor: V)
src/de.rs:120
Methoddeserialize_u8
(self, visitor: V)
src/de.rs:99
Methoddeserialize_unit
(self, visitor: V)
src/de.rs:183
Methoddeserialize_unit_struct
( self, _name: &'static str, visitor: V, )
src/de.rs:190
Methoddrop
(&mut self)
src/client/rawsession.rs:746
Methoddrop
(&mut self)
src/client/fs/file.rs:136
Methoddummy
Omits `longname` and set dummy `attributes`. This is mainly used for [`crate::server::Handler::realpath`] as per the standard
src/protocol/file.rs:15
Methodempty
Creates a structure with omitted attributes
src/protocol/file_attrs.rs:283
Methoderror
(id: u32, status_code: StatusCode)
src/protocol/mod.rs:192
Methodexpecting
(&self, formatter: &mut fmt::Formatter)
src/de.rs:31
Methodexpecting
(&self, formatter: &mut fmt::Formatter)
src/protocol/file_attrs.rs:407
Methodextended
( &mut self, id: u32, request: String, data: Vec<u8>, )
src/server/handler.rs:251
Methodextended_reply
( &mut self, reply: ExtendedReply, )
src/client/handler.rs:52
Methodextended_reply
(&mut self, reply: ExtendedReply)
src/client/rawsession.rs:91
Methodfile_name
Returns the file name for the file that this entry points at.
src/client/fs/dir.rs:16
Methodfile_type
Returns the file type for the file that this entry points at.
src/client/fs/dir.rs:21
Methodfile_type
Returns the file type
src/protocol/file_attrs.rs:247
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/client/runtime.rs:17
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/protocol/file_attrs.rs:146
Methodfrom
(error: client::error::Error)
src/error.rs:22
Methodfrom
(status: Status)
src/client/error.rs:32
Methodfrom
(limits: LimitsExtension)
src/client/rawsession.rs:105
Methodfrom
(mode: FileMode)
src/protocol/file_attrs.rs:90
Methodfrom
(value: OpenFlags)
src/protocol/open.rs:21
Methodfrom
(status_code: StatusCode)
src/server/reply.rs:37
Methodfs_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
Methodfsetstat
( &mut self, id: u32, handle: String, attrs: FileAttributes, )
src/server/handler.rs:117
Methodfstat
( &mut self, id: u32, handle: String, )
src/server/handler.rs:94
Methodhandle
(&mut self, handle: Handle)
src/client/handler.rs:28
Methodhandle
(&mut self, handle: Handle)
src/client/rawsession.rs:79
Methodhardlink
(&self, oldpath: O, newpath: N)
src/client/session.rs:255
Methodhardlink
(&self, oldpath: O, newpath: N)
src/client/rawsession.rs:691
Methodinit
( &mut self, version: u32, extensions: HashMap<String, String>, )
src/server/handler.rs:22
Methodis_file
Returns `true` if the file is a file
src/protocol/file_attrs.rs:74
Methodis_human_readable
(&self)
src/ser.rs:216
Methodis_human_readable
(&self)
src/de.rs:290
Methodis_other
Returns `true` if the file has a distinctive type
src/protocol/file_attrs.rs:84
Methodis_readonly
Returns `true` if the file is read-only.
src/protocol/file_attrs.rs:124
Methodis_symlink
Returns `true` if the file is a symlink
src/protocol/file_attrs.rs:79
Methodlstat
( &mut self, id: u32, path: String, )
src/server/handler.rs:83
Functionmain
()
examples/server.rs:172
Functionmain
()
examples/client.rs:32
Methodmetadata
Queries metadata about the remote file.
src/client/fs/file.rs:71
Methodmetadata
Returns the metadata for the file that this entry points at.
src/client/fs/dir.rs:26
Methodmkdir
( &mut self, id: u32, path: String, attrs: FileAttributes, )
src/server/handler.rs:164
Methodname
(&mut self, name: Name)
src/client/handler.rs:40
Methodname
(&mut self, name: Name)
src/client/rawsession.rs:71
Methodnew
Creates a new session by initializing the protocol and extensions
src/client/session.rs:35
Methodnew
(stream: S)
src/client/rawsession.rs:149
Methodnew
(session: Arc<RawSftpSession>, handle: String, features: Features)
src/client/fs/file.rs:53
Methodnew
Implies the use of longname
src/protocol/file.rs:24
Methodnew
()
src/protocol/version.rs:15
Methodnew
()
src/protocol/init.rs:15
Methodnew
(status_code: StatusCode)
src/server/reply.rs:17
Methodnew_client
(&mut self, _: Option<SocketAddr>)
examples/server.rs:18
Methodnew_with_config
Creates a new session with custom configuration
src/client/session.rs:43
Methodnew_with_config
(stream: S, cfg: Config)
src/client/rawsession.rs:156
Methodnewtype_variant_seed
(self, seed: T)
src/de.rs:356
Methodnext
(&mut self)
src/client/fs/dir.rs:58
Methodnext_element_seed
(&mut self, seed: T)
src/de.rs:303
Methodnext_key_seed
(&mut self, seed: K)
src/de.rs:330
Methodnext_value_seed
(&mut self, seed: V)
src/de.rs:341
Methodopen
( &self, filename: T, flags: OpenFlags, attrs: FileAttributes, )
src/client/rawsession.rs:247
Methodopen
( &mut self, id: u32, filename: String, pflags: OpenFlags, attrs: File
src/server/handler.rs:32
Methodopendir
( &mut self, id: u32, path: String, )
src/server/handler.rs:129
Methodopendir
(&mut self, id: u32, path: String)
examples/server.rs:140
Methodpath
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
Methodpoll_complete
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
src/client/fs/file.rs:248
Functionpoll_drain_writes
( pending: &mut VecDeque<oneshot::Receiver<SftpResult<Packet>>>, cx: &mut Context<'_>, )
src/client/fs/file.rs:125
Methodpoll_flush
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
src/client/fs/file.rs:296
Methodpoll_read
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>, )
src/client/fs/file.rs:146
← previousnext →101–200 of 276, ranked by callers