MCPcopy Create free account

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

Functions276 in github.com/AspectUnk/russh-sftp

Methodpoll_shutdown
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, )
src/client/fs/file.rs:327
Methodpoll_write
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8], )
src/client/fs/file.rs:261
Functionprocess_handler
(stream: &mut S, handler: &mut H)
src/client/mod.rs:69
Methodread
( &self, handle: H, offset: u64, len: u32, )
src/client/rawsession.rs:324
Methodread
( &mut self, id: u32, handle: String, offset: u64, len: u32, )
src/server/handler.rs:57
Methodread_link
Reads a symbolic link, returning the file that the link points to.
src/client/session.rs:201
Methodreaddir
( &mut self, id: u32, handle: String, )
src/server/handler.rs:141
Methodreaddir
(&mut self, id: u32, handle: String)
examples/server.rs:146
Methodreadlink
( &mut self, id: u32, path: String, )
src/server/handler.rs:224
Methodrealpath
( &mut self, id: u32, path: String, )
src/server/handler.rs:189
Methodrealpath
(&mut self, id: u32, path: String)
examples/server.rs:162
Methodremove
( &mut self, id: u32, filename: String, )
src/server/handler.rs:153
Methodremove_type
Remove mode flag
src/protocol/file_attrs.rs:241
Methodrename
Rename a file or directory to a new name.
src/client/session.rs:220
Methodrename
(&self, oldpath: O, newpath: N)
src/client/rawsession.rs:605
Methodrename
( &mut self, id: u32, oldpath: String, newpath: String, )
src/server/handler.rs:212
Methodrmdir
( &mut self, id: u32, path: String, )
src/server/handler.rs:177
Functionrun
Run processing stream as SFTP
src/server/mod.rs:99
Methodserialize_bool
(self, _v: bool)
src/ser.rs:48
Methodserialize_bytes
(self, v: &[u8])
src/ser.rs:106
Methodserialize_char
(self, _v: char)
src/ser.rs:95
Methodserialize_f32
(self, _v: f32)
src/ser.rs:87
Methodserialize_f64
(self, _v: f64)
src/ser.rs:91
Methodserialize_i16
(self, _v: i16)
src/ser.rs:56
Methodserialize_i32
(self, _v: i32)
src/ser.rs:60
Methodserialize_i64
(self, _v: i64)
src/ser.rs:64
Methodserialize_i8
(self, _v: i8)
src/ser.rs:52
Methodserialize_key
(&mut self, key: &T)
src/ser.rs:241
Methodserialize_map
(self, _len: Option<usize>)
src/ser.rs:194
Methodserialize_newtype_struct
( self, _name: &'static str, value: &T, )
src/ser.rs:140
Methodserialize_newtype_variant
( self, _name: &'static str, _variant_index: u32, _variant: &'static str,
src/ser.rs:151
Methodserialize_none
(self)
src/ser.rs:112
Methodserialize_some
(self, value: &T)
src/ser.rs:116
Methodserialize_str
(self, v: &str)
src/ser.rs:99
Methodserialize_struct_variant
( self, _name: &'static str, _variant_index: u32, _variant: &'static str,
src/ser.rs:206
Methodserialize_tuple
(self, _len: usize)
src/ser.rs:182
Methodserialize_tuple_struct
( self, _name: &'static str, _len: usize, )
src/ser.rs:186
Methodserialize_tuple_variant
( self, _name: &'static str, _variant_index: u32, _variant: &'static str,
src/ser.rs:172
Methodserialize_u16
(self, _v: u16)
src/ser.rs:73
Methodserialize_u64
(self, v: u64)
src/ser.rs:82
Methodserialize_u8
(self, v: u8)
src/ser.rs:68
Methodserialize_unit
(self)
src/ser.rs:123
Methodserialize_unit_struct
(self, _name: &'static str)
src/ser.rs:127
Methodserialize_unit_variant
( self, _name: &'static str, variant_index: u32, _variant: &'static str, )
src/ser.rs:131
Methodserialize_value
(&mut self, value: &T)
src/ser.rs:248
Methodset_metadata
Sets metadata for a remote file.
src/client/session.rs:243
Methodset_metadata
Sets metadata for a remote file.
src/client/fs/file.rs:76
Methodset_readonly
Clears all flags or sets them to a positive value. Works for unix.
src/protocol/file_attrs.rs:129
Methodset_timeout
Set the maximum response time in seconds. Default: 10 seconds
src/client/session.rs:80
Methodset_timeout
Set the maximum response time in seconds. Default: 10 seconds
src/client/rawsession.rs:178
Methodset_type
Set mode flag
src/protocol/file_attrs.rs:235
Methodsetstat
( &mut self, id: u32, path: String, attrs: FileAttributes, )
src/server/handler.rs:105
Methodsize_hint
(&self)
src/de.rs:318
Methodstart_seek
(mut self: Pin<&mut Self>, position: io::SeekFrom)
src/client/fs/file.rs:202
Methodstat
( &mut self, id: u32, path: String, )
src/server/handler.rs:200
Methodstatus
(&mut self, status: Status)
src/client/handler.rs:22
Methodstatus
(&mut self, status: Status)
src/client/rawsession.rs:75
Methodstatus
(id: u32, status_code: StatusCode, msg: &str, tag: &str)
src/protocol/mod.rs:183
Methodstruct_variant
( self, fields: &'static [&'static str], visitor: V, )
src/de.rs:371
Methodsubsystem_request
( &mut self, channel_id: ChannelId, name: &str, session: &mut Session, )
examples/server.rs:82
Methodsymlink
(&self, path: P, target: T)
src/client/rawsession.rs:642
Methodsymlink
( &mut self, id: u32, linkpath: String, targetpath: String, )
src/server/handler.rs:236
Methodsymlink_metadata
(&self, path: P)
src/client/session.rs:251
Methodsync_all
Attempts to sync all data. If the server does not support `fsync@openssh.com` sending the request will be omitted, but will still pseudo-successfully
src/client/fs/file.rs:87
Methodtry_exists
Checks a file or folder exists at the specified path
src/client/session.rs:161
Methodtry_from
(bytes: &mut Bytes)
src/protocol/mod.rs:200
Methodtuple_variant
(self, len: usize, visitor: V)
src/de.rs:363
Methodunit_variant
(self)
src/de.rs:352
Methodvariant_seed
(self, seed: V)
src/de.rs:388
Methodversion
( &mut self, version: Version, )
src/client/handler.rs:13
Methodversion
(&mut self, packet: Version)
src/client/rawsession.rs:64
Methodvisit_seq
(self, mut seq: A)
src/protocol/file_attrs.rs:411
Methodwith_language_tag
(mut self, tag: impl Into<String>)
src/server/reply.rs:30
Methodwith_message
(mut self, message: impl Into<String>)
src/server/reply.rs:25
Methodwrite
( &self, handle: H, offset: u64, data: Vec<u8>, )
src/client/rawsession.rs:351
Methodwrite
( &mut self, id: u32, handle: String, offset: u64, data: Vec<u8>,
src/server/handler.rs:70
← previous201–276 of 276, ranked by callers