Home
last modified time | relevance | path

Searched refs:console (Results 1 - 10 of 10) sorted by relevance

/commonlibrary/rust/ylong_json/examples/
H A Dylong_json_example.rs38 let mut console = stdout(); in main() variables
39 value.formatted_encode(&mut console).unwrap(); in main()
40 value.compact_encode(&mut console).unwrap(); in main()
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/uploader/
H A Dmod.rs41 /// provided to show download message on console. You can use
42 /// `Uploader::console` to build a `Uploader` which based on it.
53 /// // Creates a default `Uploader` that show progress on console.
54 /// let mut uploader = Uploader::console("HelloWorld".as_bytes());
97 /// on console.
104 /// let uploader = Uploader::console("HelloWorld".as_bytes());
106 pub fn console(reader: R) -> Uploader<R, Console> { in console() functions
107 UploaderBuilder::new().reader(reader).console().build() in console()
226 let mut uploader = Uploader::console("HelloWorld".as_bytes());
245 .console()
[all...]
H A Dbuilder.rs29 /// .console()
145 /// will be displayed on the console.
156 /// .console();
158 pub fn console(self) -> UploaderBuilder<WantsConfig<R, Console>> { in console() functions
189 /// .console()
206 /// .console()
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/downloader/
H A Dmod.rs46 /// provided to show download message on console. You can use
47 /// `Downloader::console` to build a `Downloader` which based on it.
60 /// // Creates a default `Downloader` that show progress on console.
61 /// let mut downloader = Downloader::console(response);
117 /// show progress on console.
125 /// // Creates a default `Downloader` that show progress on console.
126 /// let mut downloader = Downloader::console(response);
130 pub fn console(response: Response) -> Downloader<Console> { in console() functions
131 Self::builder().body(response).console().build() in console()
160 /// let mut downloader = Downloader::console(respons
[all...]
H A Dbuilder.rs28 /// let downloader = DownloaderBuilder::new().body(body).console().build();
133 /// will be displayed on the console.
141 /// let builder = DownloaderBuilder::new().body(body).console();
144 pub fn console(self) -> DownloaderBuilder<WantsConfig<Console>> { in console() functions
176 /// .console()
198 /// .console()
215 /// let downloader = DownloaderBuilder::new().body(body).console().build();
/commonlibrary/rust/ylong_http/ylong_http_client/examples/
H A Dasync_http_multi.rs34 let _ = Downloader::console(response).download().await; in main()
H A Dasync_http.rs43 let _ = Downloader::console(response).download().await;
H A Dasync_certs_adapter.rs70 Downloader::console(response).download().await
H A Dasync_https_outside.rs63 let _ = Downloader::console(response).download().await;
/commonlibrary/ets_utils/js_sys_module/console/
H A Dconsole.cpp15 #include "console.h"
791 napi_value console = nullptr; in InitConsoleModule() local
792 napi_create_object(env, &console); in InitConsoleModule()
793 napi_define_properties(env, console, sizeof(properties) / sizeof(properties[0]), properties); in InitConsoleModule()
794 napi_set_named_property(env, globalObj, "console", console); in InitConsoleModule()

Completed in 5 milliseconds