Created
February 17, 2019 22:41
-
-
Save andoriyu/eb3dcbc85ed6f528b3b1568bc0f51648 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[src/zpool/description.rs:121] &inner = [ | |
Pair { | |
rule: raid_line, | |
span: Span { | |
str: " mirror-0 DEGRADED 0 0 0\n", | |
start: 456, | |
end: 517 | |
}, | |
inner: [ | |
Pair { | |
rule: raid_name, | |
span: Span { | |
str: "mirror-0", | |
start: 466, | |
end: 474 | |
}, | |
inner: [ | |
Pair { | |
rule: raid_enum, | |
span: Span { | |
str: "mirror", | |
start: 466, | |
end: 472 | |
}, | |
inner: [] | |
}, | |
Pair { | |
rule: digits, | |
span: Span { | |
str: "0", | |
start: 473, | |
end: 474 | |
}, | |
inner: [] | |
} | |
] | |
}, | |
Pair { | |
rule: state_enum, | |
span: Span { | |
str: "DEGRADED", | |
start: 490, | |
end: 498 | |
}, | |
inner: [] | |
} | |
] | |
}, | |
Pair { | |
rule: disk_line, | |
span: Span { | |
str: " 14808325297596192025 OFFLINE 0 0 0 was /vdevs/vdev0\n", | |
start: 517, | |
end: 596 | |
}, | |
inner: [ | |
Pair { | |
rule: path, | |
span: Span { | |
str: "14808325297596192025", | |
start: 529, | |
end: 549 | |
}, | |
inner: [] | |
}, | |
Pair { | |
rule: state_enum, | |
span: Span { | |
str: "OFFLINE", | |
start: 551, | |
end: 558 | |
}, | |
inner: [] | |
} | |
] | |
}, | |
Pair { | |
rule: disk_line, | |
span: Span { | |
str: " /vdevs/vdev1 ONLINE 0 0 0\n", | |
start: 596, | |
end: 657 | |
}, | |
inner: [ | |
Pair { | |
rule: path, | |
span: Span { | |
str: "/vdevs/vdev1", | |
start: 608, | |
end: 620 | |
}, | |
inner: [] | |
}, | |
Pair { | |
rule: state_enum, | |
span: Span { | |
str: "ONLINE", | |
start: 630, | |
end: 636 | |
}, | |
inner: [] | |
} | |
] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment