[−][src]Struct bp7::primary::PrimaryBlockBuilder
Builder for PrimaryBlock
.
Methods
impl PrimaryBlockBuilder
[src]
pub fn version(self, value: DtnVersionType) -> Self
[src]
pub fn bundle_control_flags(self, value: BundleControlFlags) -> Self
[src]
pub fn crc(self, value: CrcValue) -> Self
[src]
pub fn destination(self, value: EndpointID) -> Self
[src]
pub fn source(self, value: EndpointID) -> Self
[src]
pub fn report_to(self, value: EndpointID) -> Self
[src]
pub fn creation_timestamp(self, value: CreationTimestamp) -> Self
[src]
pub fn lifetime(self, value: LifetimeType) -> Self
[src]
pub fn fragmentation_offset(self, value: FragOffsetType) -> Self
[src]
pub fn total_data_length(self, value: TotalDataLengthType) -> Self
[src]
pub fn build(self) -> Result<PrimaryBlock, String>
[src]
Trait Implementations
impl Default for PrimaryBlockBuilder
[src]
fn default() -> PrimaryBlockBuilder
[src]
Auto Trait Implementations
impl Send for PrimaryBlockBuilder
impl Sync for PrimaryBlockBuilder
impl Unpin for PrimaryBlockBuilder
impl UnwindSafe for PrimaryBlockBuilder
impl RefUnwindSafe for PrimaryBlockBuilder
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,