pub struct InterLinkPacket {
pub link_id: LinkId,
pub lp: LinkPacket,
}Fields§
§link_id: LinkId§lp: LinkPacketImplementations§
Source§impl InterLinkPacket
impl InterLinkPacket
pub fn new(link_id: LinkId, lp: LinkPacket) -> Self
pub fn link_id(&self) -> LinkId
pub fn change_destination(&self, link_id: LinkId) -> Self
pub fn reply_to(&self) -> Result<ReplyTo>
pub fn narrow_waist(&self) -> NarrowWaistPacket
pub fn link_packet(&self) -> LinkPacket
Trait Implementations§
Source§impl Clone for InterLinkPacket
impl Clone for InterLinkPacket
Source§fn clone(&self) -> InterLinkPacket
fn clone(&self) -> InterLinkPacket
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InterLinkPacket
impl RefUnwindSafe for InterLinkPacket
impl Send for InterLinkPacket
impl Sync for InterLinkPacket
impl Unpin for InterLinkPacket
impl UnwindSafe for InterLinkPacket
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