MCPcopy Create free account

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

Functions276 in github.com/AspectUnk/russh-sftp

↓ 29 callersFunctionto_bytes
Converting type to bytes according to protocol
src/ser.rs:14
↓ 27 callersFunctionfrom_bytes
Converting bytes to protocol-compliant type
src/de.rs:12
↓ 21 callersMethoduse_next_id
(&self)
src/client/rawsession.rs:225
↓ 20 callersMethodrequest
(&self, id: Option<u32>, packet: Packet)
src/client/rawsession.rs:211
↓ 19 callersMethodunimplemented
(&self)
examples/server.rs:112
↓ 15 callersMethodlen
Returns the size of the file
src/protocol/file_attrs.rs:257
↓ 12 callersMethodserialize
(&self, serializer: S)
src/protocol/file_attrs.rs:343
↓ 7 callersMethodreply
(&mut self, id: Option<u32>, packet: Packet)
src/client/rawsession.rs:38
↓ 7 callersMethodserialize_field
(&mut self, _key: &'static str, value: &T)
src/ser.rs:280
↓ 5 callersMethoddeserialize
(deserializer: D)
src/protocol/file_attrs.rs:398
↓ 5 callersMethodsend
( &self, id: Option<u32>, packet: Packet, )
src/client/rawsession.rs:187
↓ 4 callersMethoddeserialize_tuple
(self, len: usize, visitor: V)
src/de.rs:223
↓ 4 callersMethodextended
Equivalent to `SSH_FXP_EXTENDED`. Allows protocol expansion. The extension can return any packet, so it's not specific
src/client/rawsession.rs:665
↓ 4 callersMethodopen_with_flags
Attempts to open or create the file in the specified mode
src/client/session.rs:106
↓ 4 callersMethodpoll
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
src/client/runtime.rs:31
↓ 4 callersMethodremove
(&self, filename: T)
src/client/rawsession.rs:520
↓ 4 callersMethodremove_file
Removes the specified file.
src/client/session.rs:215
↓ 4 callersFunctionspawn
(future: F)
src/client/runtime.rs:54
↓ 3 callersFunctionconnect
()
benches/upload_benchmark.rs:37
↓ 3 callersMethodcreate
Opens a file in write-only mode. This function will create a file if it does not exist, and will truncate it if it does.
src/client/session.rs:97
↓ 3 callersMethodis_dir
Returns `true` if the file is a directory
src/protocol/file_attrs.rs:69
↓ 3 callersMethodvisit_seq
(self, mut seq: A)
src/de.rs:35
↓ 2 callersMethodchannel_open_session
( &mut self, channel: Channel<Msg>, _session: &mut Session, )
examples/server.rs:59
↓ 2 callersMethodclose
Closes the inner channel stream.
src/client/session.rs:85
↓ 2 callersMethodclose_session
Closes the inner channel stream. Called by [`Drop`]
src/client/rawsession.rs:230
↓ 2 callersMethoddeserialize_any
(self, visitor: V)
src/de.rs:53
↓ 2 callersMethodend
(self)
src/ser.rs:232
↓ 2 callersMethodfstat
(&self, handle: H)
src/client/rawsession.rs:418
↓ 2 callersMethodfsync
(&self, handle: H)
src/client/rawsession.rs:710
↓ 2 callersMethodinit
( &mut self, version: u32, extensions: HashMap<String, String>, )
examples/server.rs:116
↓ 2 callersMethodopen
Attempts to open a file in read-only mode.
src/client/session.rs:90
↓ 2 callersMethodpermissions
Returns the permissions of the file this metadata is for.
src/protocol/file_attrs.rs:262
↓ 2 callersFunctionpoll_oldest_write
( pending: &mut VecDeque<oneshot::Receiver<SftpResult<Packet>>>, cx: &mut Context<'_>, )
src/client/fs/file.rs:111
↓ 2 callersMethodread
Reads the contents of a file located at the specified path to the end.
src/client/session.rs:144
↓ 2 callersFunctionread_packet
( stream: &mut S, max_length: u32, )
src/utils.rs:12
↓ 2 callersFunctionrun
Run processing stream as SFTP client. Is a simple handler of incoming and outgoing packets. Can be used for non-standard implementations
src/client/mod.rs:80
↓ 2 callersMethodtry_get_bytes
(&mut self)
src/buf.rs:11
↓ 2 callersFunctionunix
(time: SystemTime)
src/utils.rs:8
↓ 1 callersMethodaccessed
Returns the last access time
src/protocol/file_attrs.rs:267
↓ 1 callersFunctioncheck_write_result
( result: Result<SftpResult<Packet>, oneshot::error::RecvError>, )
src/client/fs/file.rs:96
↓ 1 callersMethodclose
(&mut self, id: u32, _handle: String)
examples/server.rs:131
↓ 1 callersMethodclose_nowait
Sends a close packet without awaiting the server's acknowledgement.
src/client/rawsession.rs:316
↓ 1 callersMethodcreate_dir
Creates a new empty directory.
src/client/session.rs:136
↓ 1 callersMethoddeserialize_bytes
(self, visitor: V)
src/de.rs:162
↓ 1 callersMethoddeserialize_str
(self, visitor: V)
src/de.rs:148
↓ 1 callersFunctionexecute_handler
(bytes: &mut Bytes, handler: &mut H)
src/client/mod.rs:51
↓ 1 callersMethodfsetstat
( &self, handle: H, attrs: FileAttributes, )
src/client/rawsession.rs:455
↓ 1 callersMethodget_channel
(&mut self, channel_id: ChannelId)
examples/server.rs:36
↓ 1 callersMethodget_request_id
(&self)
src/protocol/mod.rs:158
↓ 1 callersMethodinit
(&self)
src/client/rawsession.rs:238
↓ 1 callersMethodis_empty
Returns `true` if is empty
src/protocol/file_attrs.rs:252
↓ 1 callersMethodlimits
(&self)
src/client/rawsession.rs:679
↓ 1 callersMethodlongname
Get formed longname
src/protocol/file.rs:35
↓ 1 callersMethodlstat
(&self, path: P)
src/client/rawsession.rs:402
↓ 1 callersMethodmetadata
Queries metadata about the remote file.
src/client/session.rs:238
↓ 1 callersMethodmkdir
( &self, path: P, attrs: FileAttributes, )
src/client/rawsession.rs:536
↓ 1 callersMethodmodified
Returns the last modification time
src/protocol/file_attrs.rs:275
↓ 1 callersMethodopen_with_flags_and_attributes
Attempts to open or create the file in the specified mode and with specified file attributes
src/client/session.rs:116
↓ 1 callersMethodopendir
(&self, path: P)
src/client/rawsession.rs:476
↓ 1 callersFunctionprocess_handler
(stream: &mut S, handler: &mut H, cfg: &Config)
src/server/mod.rs:79
↓ 1 callersFunctionprocess_request
(packet: Packet, handler: &mut H)
src/server/mod.rs:48
↓ 1 callersMethodread_dir
Returns an iterator over the entries within a directory.
src/client/session.rs:170
↓ 1 callersMethodreaddir
(&self, handle: H)
src/client/rawsession.rs:504
↓ 1 callersMethodreadlink
(&self, path: P)
src/client/rawsession.rs:626
↓ 1 callersMethodrealpath
(&self, path: P)
src/client/rawsession.rs:573
↓ 1 callersMethodremove_dir
Removes the specified folder.
src/client/session.rs:210
↓ 1 callersMethodrmdir
(&self, path: P)
src/client/rawsession.rs:557
↓ 1 callersFunctionrun_with_config
Run processing stream as SFTP with custom configuration
src/server/mod.rs:108
↓ 1 callersMethodserialize_element
(&mut self, value: &T)
src/ser.rs:225
↓ 1 callersMethodserialize_seq
(self, len: Option<usize>)
src/ser.rs:164
↓ 1 callersMethodserialize_struct
( self, _name: &'static str, _len: usize, )
src/ser.rs:198
↓ 1 callersMethodserialize_u32
(self, v: u32)
src/ser.rs:77
↓ 1 callersMethodset_limits
Setting limits. For the `limits@openssh.com` extension
src/client/rawsession.rs:183
↓ 1 callersMethodsetstat
( &self, path: P, attrs: FileAttributes, )
src/client/rawsession.rs:434
↓ 1 callersMethodstat
(&self, path: P)
src/client/rawsession.rs:589
↓ 1 callersMethodstatvfs
(&self, path: P)
src/client/rawsession.rs:724
↓ 1 callersMethodsymlink
Creates a symlink of the specified target.
src/client/session.rs:229
↓ 1 callersFunctiontimeout
(duration: Duration, future: F)
src/client/runtime.rs:67
↓ 1 callersMethodtry_get_string
(&mut self)
src/buf.rs:22
↓ 1 callersFunctionupload_many
(sftp: &SftpSession, data: Arc<Vec<u8>>)
benches/upload_benchmark.rs:53
↓ 1 callersFunctionupload_single
(sftp: &SftpSession, data: Arc<Vec<u8>>)
benches/upload_benchmark.rs:68
↓ 1 callersMethodwrite
Writes the contents to a file whose path is specified.
src/client/session.rs:154
↓ 1 callersMethodwrite_nowait
Sends a write packet without awaiting the server's acknowledgement.
src/client/rawsession.rs:379
Methodattrs
(&mut self, attrs: Attrs)
src/client/handler.rs:46
Methodattrs
(&mut self, attrs: Attrs)
src/client/rawsession.rs:87
Methodauth_password
(&mut self, user: &str, password: &str)
examples/server.rs:45
Methodauth_publickey
( &mut self, user: &str, public_key: &russh::keys::PublicKey, )
examples/server.rs:50
Functionbench_serde
(c: &mut Criterion)
benches/upload_benchmark.rs:118
Functionbenchmark
(c: &mut Criterion)
benches/upload_benchmark.rs:74
Methodcanonicalize
Requests the remote party for the absolute from the relative path.
src/client/session.rs:127
Methodchannel_eof
( &mut self, channel: ChannelId, session: &mut Session, )
examples/server.rs:71
Methodcheck_server_key
( &mut self, server_public_key: &russh::keys::PublicKey, )
benches/upload_benchmark.rs:18
Methodcheck_server_key
( &mut self, server_public_key: &russh::keys::PublicKey, )
examples/client.rs:12
Methodclose
(&self, handle: H)
src/client/rawsession.rs:282
Methodclose
( &mut self, id: u32, handle: String, )
src/server/handler.rs:46
Methodcustom
(msg: T)
src/error.rs:49
Methoddata
( &mut self, channel: ChannelId, data: &[u8], _session: &mut client::Session,
benches/upload_benchmark.rs:26
Methoddata
(&mut self, data: Data)
src/client/handler.rs:34
Methoddata
(&mut self, data: Data)
src/client/rawsession.rs:83
Methoddata
( &mut self, channel: ChannelId, data: &[u8], _session: &mut client::Session,
examples/client.rs:20
next →1–100 of 276, ranked by callers