mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Add lots of derived Debug impls
This commit is contained in:
parent
e580250d5d
commit
05391e27cd
23 changed files with 125 additions and 124 deletions
|
@ -5,14 +5,14 @@
|
|||
use ipc_channel::ipc::IpcSender;
|
||||
use servo_url::ServoUrl;
|
||||
|
||||
#[derive(Clone, Copy, Deserialize, MallocSizeOf, Serialize)]
|
||||
#[derive(Clone, Copy, Debug, Deserialize, MallocSizeOf, Serialize)]
|
||||
pub enum StorageType {
|
||||
Session,
|
||||
Local,
|
||||
}
|
||||
|
||||
/// Request operations on the storage data associated with a particular url
|
||||
#[derive(Deserialize, Serialize)]
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
pub enum StorageThreadMsg {
|
||||
/// gets the number of key/value pairs present in the associated storage data
|
||||
Length(IpcSender<usize>, ServoUrl, StorageType),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue