pub enum PushResult {
Accepted,
DroppedByLimit,
ClosedAfterLimit,
}Expand description
Result of pushing one user diagnostic into a sink.
Variants§
Accepted
The diagnostic was accepted successfully
DroppedByLimit
The diagnostic was dropped due to a limit on diagnostics that match its characteristics
ClosedAfterLimit
The diagnostic was dropped because the receiver was closed after a limit was reached
Trait Implementations§
Source§impl Clone for PushResult
impl Clone for PushResult
impl Copy for PushResult
Source§impl Debug for PushResult
impl Debug for PushResult
impl Eq for PushResult
Source§impl PartialEq for PushResult
impl PartialEq for PushResult
impl StructuralPartialEq for PushResult
Auto Trait Implementations§
impl Forget for PushResult
impl Freeze for PushResult
impl Move for PushResult
impl RefUnwindSafe for PushResult
impl Send for PushResult
impl Sync for PushResult
impl Unpin for PushResult
impl UnsafeUnpin for PushResult
impl UnwindSafe for PushResult
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