Trait mbox::sentinel::Sentinel
[−]
[src]
pub trait Sentinel: Eq { fn sentinel() -> Self; }
Implemented for types which has a sentinel value.
Required Methods
fn sentinel() -> Self
Obtains the sentinel value. This method should return a constant.
Implementors
impl<T> Sentinel for *const T
impl<T> Sentinel for *mut T
impl<T: Eq> Sentinel for Option<T>
impl Sentinel for u8
impl Sentinel for i8
impl Sentinel for u16
impl Sentinel for i16
impl Sentinel for u32
impl Sentinel for i32
impl Sentinel for u64
impl Sentinel for i64
impl Sentinel for usize
impl Sentinel for isize