MCPcopy Create free account

hub / github.com/0xor0ne/recmd / functions

Functions80 in github.com/0xor0ne/recmd

↓ 8 callersMethodget_key
(&self)
src/config.rs:60
↓ 8 callersMethodrun
(&mut self)
src/srv.rs:63
↓ 5 callersMethodrun
(&self)
src/cmd.rs:13
↓ 4 callersFunctiondeserialize_decrypt
(corrupt: bool)
src/srv.rs:377
↓ 4 callersFunctionencrypt_serialize_deserialize_decrypt
(t: ReCmdMsgType, m_orig: &str, corrupt: bool)
src/message.rs:276
↓ 3 callersMethodencrypt
(&self, data: &[u8])
src/crypt.rs:20
↓ 2 callersMethoddecrypt
(&self, nonce: XNonce, data: &[u8])
src/crypt.rs:27
↓ 2 callersMethoddeserialize_decrypt
( key: GenericArray<u8, U32>, data: &[u8], )
src/srv.rs:228
↓ 2 callersMethoddeserialize_decrypt
(&self, data: &[u8])
src/snd.rs:142
↓ 2 callersMethoddeserialize_decrypt
(&self, data: &[u8])
src/message.rs:234
↓ 2 callersMethodencrypt_serialize
( key: GenericArray<u8, U32>, req: &ReCmdMsg, data: &Vec<u8>, )
src/srv.rs:199
↓ 2 callersMethodencrypt_serialize
(&self, ts: u64)
src/snd.rs:150
↓ 2 callersMethodget_tcp_write_to
(&self)
src/config.rs:72
↓ 2 callersFunctionhandle_srv
(port: u16)
tests/localhost.rs:5
↓ 1 callersMethodencrypt_serialize
( &self, t: ReCmdMsgType, m: &Vec<u8>, ts: u64, )
src/message.rs:132
↓ 1 callersMethodget_history_depth
(&self)
src/config.rs:64
↓ 1 callersMethodget_tcp_connect_to
(&self)
src/config.rs:68
↓ 1 callersMethodget_tcp_resp_to
(&self)
src/config.rs:76
↓ 1 callersFunctionrun_server
(opts: ReCmdModeSrvArg)
src/main.rs:68
Functionbash
()
src/cmd.rs:73
Functionbash_multiple_opts
()
src/cmd.rs:88
Functioncheck_sha256
()
src/srv.rs:296
Functioncommand_does_not_exist
()
src/cmd.rs:103
Functiondeserialize_decrypt_corrupt
()
src/srv.rs:437
Functiondeserialize_decrypt_ok
()
src/srv.rs:432
Functionecho
()
src/cmd.rs:43
Functionecho_no_new_line
()
src/cmd.rs:58
Functionencrypt_corrupt_decrypt
()
src/crypt.rs:51
Functionencrypt_decrypt
()
src/crypt.rs:37
Functionencrypt_serialize_corr_deserialize_decrypt_request
()
src/message.rs:358
Functionencrypt_serialize_corr_deserialize_decrypt_response
()
src/message.rs:363
Functionencrypt_serialize_deserialize_decrypt
()
src/snd.rs:172
Functionencrypt_serialize_deserialize_decrypt_request
()
src/message.rs:348
Functionencrypt_serialize_deserialize_decrypt_response
()
src/message.rs:353
Functionencrypt_serialize_ok
()
src/srv.rs:468
Methodexecute_command
(msg: &ReCmdMsg)
src/srv.rs:178
Methodexist_in_history
( history: &Arc<Mutex<Vec<GenericArray<u8, U32>>>>, hash: &GenericArray<u8, U32>, )
src/srv.rs:245
Functionexist_in_history_false
()
src/srv.rs:329
Functionexist_in_history_saturation_false
()
src/srv.rs:351
Functionexist_in_history_true
()
src/srv.rs:309
Methodfmt
(&self, f: &mut fmt::Formatter)
src/srv.rs:40
Methodfmt
(&self, f: &mut fmt::Formatter)
src/main.rs:63
Methodfmt
(&self, f: &mut fmt::Formatter)
src/snd.rs:33
Methodfmt
(&self, f: &mut fmt::Formatter)
src/message.rs:76
Methodfrom
(_e: std::io::Error)
src/srv.rs:48
Methodfrom
(_e: std::io::Error)
src/snd.rs:41
Methodfrom
(_e: nom::Err<nom::error::Error<&[u8]>>)
src/message.rs:85
Methodget_data_sha256
(data: &Vec<u8>)
src/srv.rs:239
Methodhandle_connection
( mut stream: TcpStream, config: Arc<Mutex<Config>>, history: Arc<Mutex<Vec<GenericArr
src/srv.rs:86
Methodinit
()
src/config.rs:25
Functioninit_and_check_len
()
src/config.rs:86
Methodinit_key
(s: &str)
src/config.rs:37
Functioninit_key_default
()
src/config.rs:92
Functioninit_key_env
()
src/config.rs:105
Functionlocalhost_command
()
tests/localhost.rs:11
Functionlocalhost_command_bytes
()
tests/localhost.rs:29
Methodm_from_slice
(p: &[u8])
src/message.rs:208
Functionmain
()
src/main.rs:104
Methodnew
(ip: IpAddr, port: u16)
src/srv.rs:54
Methodnew
(s: &str)
src/cmd.rs:9
Methodnew
(key: GenericArray<u8, U32>)
src/crypt.rs:14
Methodnew
(srv_ip: IpAddr, port: u16, data: Vec<u8>)
src/snd.rs:53
Methodnew
(cipher: Box<Crypt>)
src/message.rs:128
Methodnonce_from_slice
(s: &[u8])
src/message.rs:178
Methodparse_hdr
(input: &[u8])
src/message.rs:224
Methodparse_length
(input: &[u8])
src/message.rs:171
Methodparse_m
(input: &[u8], len: usize)
src/message.rs:212
Methodparse_m_len
(input: &[u8])
src/message.rs:201
Methodparse_nonce
(input: &[u8])
src/message.rs:182
Methodparse_payload_dec
(input: &[u8])
src/message.rs:217
Methodparse_payload_enc
(input: &[u8], len: usize)
src/message.rs:190
Methodparse_ts
(input: &[u8])
src/message.rs:194
Methodparse_type
(input: &[u8])
src/message.rs:167
Methodpayload_from_slice
(p: &[u8])
src/message.rs:186
Methodread_message
(stream: &mut TcpStream, buf: &mut Vec<u8>)
src/srv.rs:141
Methodread_message
(stream: &mut TcpStream, buf: &mut Vec<u8>)
src/snd.rs:105
Methodrun
(&self)
src/snd.rs:62
Functionrun_command
()
src/srv.rs:442
Methodtype_from_u8
(t: u8)
src/message.rs:163
Methodupdate_history
( history: &Arc<Mutex<Vec<GenericArray<u8, U32>>>>, hash: GenericArray<u8, U32>, histo
src/srv.rs:261