1mod data_source;
10mod stream_rrd_from_http;
11
12#[cfg(not(target_arch = "wasm32"))]
13mod load_stdin;
14
15pub use self::data_source::{AuthErrorHandler, LogDataSource, LogDataSourceAnalytics};
16pub use re_redap_client::StreamMode;
17
18#[derive(Clone, PartialEq, Eq)]
26pub struct FileContents {
27 pub name: String,
28 pub bytes: std::sync::Arc<[u8]>,
29}
30
31impl std::fmt::Debug for FileContents {
32 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
33 f.debug_struct("FileContents")
34 .field("name", &self.name)
35 .field("bytes", &format_args!("{} bytes", self.bytes.len()))
36 .finish()
37 }
38}