Struct capsules::net::sixlowpan_compression::Context
[−]
[src]
pub struct Context { pub prefix: [u8; 16], pub prefix_len: u8, pub id: u8, pub compress: bool, }
Fields
prefix: [u8; 16]
prefix_len: u8
id: u8
compress: bool
Trait Implementations
impl Copy for Context
[src]
impl Clone for Context
[src]
fn clone(&self) -> Context
[src][−]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src][−]
Performs copy-assignment from source
. Read more
impl Debug for Context
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src][−]
Formats the value using the given formatter. Read more
impl ContextStore for Context
[src]
fn get_context_from_addr(&self, ip_addr: IPAddr) -> Option<Context>
[src]
fn get_context_from_id(&self, ctx_id: u8) -> Option<Context>
[src]
fn get_context_from_prefix(
&self,
prefix: &[u8],
prefix_len: u8
) -> Option<Context>
[src]
&self,
prefix: &[u8],
prefix_len: u8
) -> Option<Context>