Struct spp_rust::pri_header::Identification
source · pub struct Identification {
pub packet_type: PacketType,
pub sec_header_flag: SecHeaderFlag,
/* private fields */
}Fields§
§packet_type: PacketType§sec_header_flag: SecHeaderFlagImplementations§
source§impl Identification
impl Identification
pub fn new( t: PacketType, head: SecHeaderFlag, app: BitVec ) -> Result<Self, SPPError>
pub fn new_idle(t: PacketType) -> Self
Trait Implementations§
source§impl Clone for Identification
impl Clone for Identification
source§fn clone(&self) -> Identification
fn clone(&self) -> Identification
Returns a copy 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 RefUnwindSafe for Identification
impl Send for Identification
impl Sync for Identification
impl Unpin for Identification
impl UnwindSafe for Identification
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