pub struct EnvelopeHeader {
pub to: Address,
pub ttl: usize,
/* private fields */
}Fields§
§to: Address§ttl: usizeImplementations§
Source§impl EnvelopeHeader
impl EnvelopeHeader
pub fn to_address(to: Address) -> Self
pub fn with_ttl(self, ttl: usize) -> Self
pub fn with_trace_id(self, trace_id: TraceId) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EnvelopeHeader
impl RefUnwindSafe for EnvelopeHeader
impl Send for EnvelopeHeader
impl Sync for EnvelopeHeader
impl Unpin for EnvelopeHeader
impl UnwindSafe for EnvelopeHeader
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