pub struct AdvertisementListing {
pub entries: Arc<ListingEntries>,
/* private fields */
}Expand description
One complete listing: the frozen local listing at its sender and the
complete peer listing at its receiver, with the canonical byte size B of
the listing rendered as an ::offers item: its label line, every
entry’s lines, and the terminating LF.
An endpoint keeps one local listing for its logical session and changes it in place each round; a direct receiver shares its map until it freezes its request, so the next change finds the map unshared.
Fields§
§entries: Arc<ListingEntries>Implementations§
Source§impl AdvertisementListing
impl AdvertisementListing
pub fn canonical_bytes(&self) -> u64
Trait Implementations§
Source§impl Clone for AdvertisementListing
impl Clone for AdvertisementListing
Source§fn clone(&self) -> AdvertisementListing
fn clone(&self) -> AdvertisementListing
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AdvertisementListing
impl Debug for AdvertisementListing
Source§impl Default for AdvertisementListing
impl Default for AdvertisementListing
impl Eq for AdvertisementListing
Source§impl PartialEq for AdvertisementListing
impl PartialEq for AdvertisementListing
Source§fn eq(&self, other: &AdvertisementListing) -> bool
fn eq(&self, other: &AdvertisementListing) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AdvertisementListing
Auto Trait Implementations§
impl Freeze for AdvertisementListing
impl RefUnwindSafe for AdvertisementListing
impl Send for AdvertisementListing
impl Sync for AdvertisementListing
impl Unpin for AdvertisementListing
impl UnsafeUnpin for AdvertisementListing
impl UnwindSafe for AdvertisementListing
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