pub struct PublicationPart<'a> {
pub frames: [&'a [u8]; 3],
pub predecessor: Prefix,
pub end: Prefix,
}Expand description
One already encoded, consecutive PREPARE retained by its actor. An empty header denotes actor-owned unbound metadata, never an accepted wire packet.
Fields§
§frames: [&'a [u8]; 3]Encoded header, metadata, and payload frames, in that order.
predecessor: PrefixExact canonical prefix immediately before these operations.
end: PrefixExact canonical prefix after these consecutive operations.
Trait Implementations§
Source§impl<'a> Clone for PublicationPart<'a>
impl<'a> Clone for PublicationPart<'a>
impl<'a> Copy for PublicationPart<'a>
Auto Trait Implementations§
impl<'a> Freeze for PublicationPart<'a>
impl<'a> RefUnwindSafe for PublicationPart<'a>
impl<'a> Send for PublicationPart<'a>
impl<'a> Sync for PublicationPart<'a>
impl<'a> Unpin for PublicationPart<'a>
impl<'a> UnsafeUnpin for PublicationPart<'a>
impl<'a> UnwindSafe for PublicationPart<'a>
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