Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegFlow
/ is_empty
Method
is_empty
flow-rs/src/channel/receiver.rs:80–86 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
78
}
79
}
80
pub fn is_empty(&self) -> bool {
81
if let Some(imp) = self.imp.as_ref() {
82
imp.is_empty()
83
} else {
84
true
85
}
86
}
87
#[doc(hidden)]
88
pub fn empty_n(&self) -> usize {
89
self.m_epoch.load(Ordering::Relaxed)
Callers
nothing calls this directly
Calls
1
as_ref
Method · 0.80
Tested by
no test coverage detected