pub enum SnServiceGrade {
None,
Discard,
Passable,
Normal,
Fine,
Wonderfull,
}Variants
None
Discard
Passable
Normal
Fine
Wonderfull
Implementations
Trait Implementations
sourceimpl Clone for SnServiceGrade
impl Clone for SnServiceGrade
sourcefn clone(&self) -> SnServiceGrade
fn clone(&self) -> SnServiceGrade
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Ord for SnServiceGrade
impl Ord for SnServiceGrade
sourceimpl PartialEq<SnServiceGrade> for SnServiceGrade
impl PartialEq<SnServiceGrade> for SnServiceGrade
sourceimpl PartialOrd<SnServiceGrade> for SnServiceGrade
impl PartialOrd<SnServiceGrade> for SnServiceGrade
sourcefn partial_cmp(&self, other: &SnServiceGrade) -> Option<Ordering>
fn partial_cmp(&self, other: &SnServiceGrade) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
sourceimpl<'de> RawDecode<'de> for SnServiceGrade
impl<'de> RawDecode<'de> for SnServiceGrade
fn raw_decode(buf: &'de [u8]) -> Result<(Self, &'de [u8]), BuckyError>
fn raw_decode_with_option(
buf: &'de [u8],
_opt: &RawDecodeOption
) -> Result<(Self, &'de [u8]), BuckyError>
sourceimpl RawEncode for SnServiceGrade
impl RawEncode for SnServiceGrade
fn raw_measure(
&self,
_purpose: &Option<RawEncodePurpose>
) -> Result<usize, BuckyError>
fn raw_encode<'a>(
&self,
buf: &'a mut [u8],
_purpose: &Option<RawEncodePurpose>
) -> Result<&'a mut [u8], BuckyError>
fn raw_tail_encode(
&self,
buf: &'a mut [u8],
purpose: &Option<RawEncodePurpose>
) -> Result<&'a [u8], BuckyError>
fn raw_encode_to_buffer(&self) -> Result<Vec<u8, Global>, BuckyError>
fn raw_hash_value(&self) -> Result<HashValue, BuckyError>
fn hash_buf(&self, encoded_buf: &[u8]) -> HashValue
fn raw_hash_encode(&self) -> Result<Vec<u8, Global>, BuckyError>
sourceimpl RawFixedBytes for SnServiceGrade
impl RawFixedBytes for SnServiceGrade
sourceimpl TryFrom<u8> for SnServiceGrade
impl TryFrom<u8> for SnServiceGrade
impl Copy for SnServiceGrade
impl Eq for SnServiceGrade
impl StructuralEq for SnServiceGrade
impl StructuralPartialEq for SnServiceGrade
Auto Trait Implementations
impl RefUnwindSafe for SnServiceGrade
impl Send for SnServiceGrade
impl Sync for SnServiceGrade
impl Unpin for SnServiceGrade
impl UnwindSafe for SnServiceGrade
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more