diff options
| author | Austin Hellyer <[email protected]> | 2017-01-23 12:35:28 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2017-01-23 12:35:28 -0800 |
| commit | f94b5e135e553d780e5c5e26534f77616dea2a44 (patch) | |
| tree | 53293d5409d08581b7c3b42ecb14a8faefe4e096 /src/client | |
| parent | Switch to a mostly-fully OOP approach (diff) | |
| download | serenity-f94b5e135e553d780e5c5e26534f77616dea2a44.tar.xz serenity-f94b5e135e553d780e5c5e26534f77616dea2a44.zip | |
Make BootInfo/MonitorInfo private
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/mod.rs b/src/client/mod.rs index 65cf14e..2a7c00b 100644 --- a/src/client/mod.rs +++ b/src/client/mod.rs @@ -1170,7 +1170,7 @@ impl Client { } } -pub struct BootInfo { +struct BootInfo { gateway_url: Arc<Mutex<String>>, login_type: LoginType, shard_info: Option<[u64; 2]>, @@ -1178,7 +1178,7 @@ pub struct BootInfo { } #[cfg(feature="framework")] -pub struct MonitorInfo { +struct MonitorInfo { data: Arc<Mutex<ShareMap>>, event_store: Arc<RwLock<EventStore>>, framework: Arc<Mutex<Framework>>, @@ -1191,7 +1191,7 @@ pub struct MonitorInfo { } #[cfg(not(feature="framework"))] -pub struct MonitorInfo { +struct MonitorInfo { data: Arc<Mutex<ShareMap>>, event_store: Arc<RwLock<EventStore>>, gateway_url: Arc<Mutex<String>>, |