pub enum MaxSegments {
Unspecified = 0,
Two = 1,
Four = 2,
Eight = 3,
Sixteen = 4,
ThirtyTwo = 5,
SixtyFour = 6,
GreaterThan64 = 7,
}Expand description
Maximum segments that can be accepted
Variants§
Unspecified = 0
Two = 1
Four = 2
Eight = 3
Sixteen = 4
ThirtyTwo = 5
SixtyFour = 6
GreaterThan64 = 7
Trait Implementations§
Source§impl Clone for MaxSegments
impl Clone for MaxSegments
Source§fn clone(&self) -> MaxSegments
fn clone(&self) -> MaxSegments
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MaxSegments
Source§impl Debug for MaxSegments
impl Debug for MaxSegments
impl Eq for MaxSegments
Source§impl PartialEq for MaxSegments
impl PartialEq for MaxSegments
Source§fn eq(&self, other: &MaxSegments) -> bool
fn eq(&self, other: &MaxSegments) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MaxSegments
Auto Trait Implementations§
impl Freeze for MaxSegments
impl RefUnwindSafe for MaxSegments
impl Send for MaxSegments
impl Sync for MaxSegments
impl Unpin for MaxSegments
impl UnsafeUnpin for MaxSegments
impl UnwindSafe for MaxSegments
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