pub enum Interest {
None,
NewData,
LostData,
Forced,
}Variants§
Implementations§
Source§impl Interest
impl Interest
pub fn can_transmit(self, limit: Constraint) -> bool
pub fn is_none(self) -> bool
pub fn merge_with<F: FnOnce(&mut Self) -> Result>(&mut self, f: F) -> Result
Trait Implementations§
Source§impl Ord for Interest
impl Ord for Interest
Source§impl PartialOrd for Interest
impl PartialOrd for Interest
impl Copy for Interest
impl Eq for Interest
impl StructuralPartialEq for Interest
Auto Trait Implementations§
impl Freeze for Interest
impl RefUnwindSafe for Interest
impl Send for Interest
impl Sync for Interest
impl Unpin for Interest
impl UnwindSafe for Interest
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