pub struct Listing { /* private fields */ }Expand description
What one session can see, and how much exists.
visible and total differ exactly when the filter hid something, which
is the thing a caller needs to know: a tools/list that returns four of
five tools is a different answer from one that returns five of five, and
the client cannot tell them apart without the total.
Implementations§
Source§impl Listing
impl Listing
Sourcepub fn visible(&self) -> &[Arc<Registered>]
pub fn visible(&self) -> &[Arc<Registered>]
The primitives this session may see, in listing order.
How many were hidden from this session.
Sourcepub const fn generation(&self) -> u64
pub const fn generation(&self) -> u64
The publish this listing was taken from.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Listing
impl RefUnwindSafe for Listing
impl Send for Listing
impl Sync for Listing
impl Unpin for Listing
impl UnsafeUnpin for Listing
impl UnwindSafe for Listing
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