pub struct Buckets { /* private fields */ }Expand description
Buckets per stage, each stage sorted smallest first.
Implementations§
Source§impl Buckets
impl Buckets
Sourcepub fn parse(text: &str) -> Result<Self, ParseError>
pub fn parse(text: &str) -> Result<Self, ParseError>
Reads a table: one bucket per line as stage tokens seqs markers, with # comments.
§Errors
A line without four fields, a count that is not a number, or a bucket that repeats.
Trait Implementations§
impl Eq for Buckets
impl StructuralPartialEq for Buckets
Auto Trait Implementations§
impl Freeze for Buckets
impl RefUnwindSafe for Buckets
impl Send for Buckets
impl Sync for Buckets
impl Unpin for Buckets
impl UnsafeUnpin for Buckets
impl UnwindSafe for Buckets
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more