#[repr(u8)]pub enum PathType {
Empty = 0,
Scion = 1,
OneHop = 2,
Epic = 3,
Colibri = 4,
Other(u8),
}Expand description
Path types used in SCION packets.
See the IETF SCION-dataplane RFC draft for possible values.
Variants§
Empty = 0
The empty path type.
Scion = 1
The standard SCION path type.
OneHop = 2
One-hop paths between neighboring border routers.
Epic = 3
Experimental Epic path type.
Colibri = 4
Experimental Colibri path type.
Other(u8)
Other, unrecognized path types.
Trait Implementations§
Source§impl Arbitrary for PathType
impl Arbitrary for PathType
Source§type Parameters = ArbitraryPathTypeParams
type Parameters = ArbitraryPathTypeParams
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = BoxedStrategy<PathType>
type Strategy = BoxedStrategy<PathType>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(params: Self::Parameters) -> Self::Strategy
fn arbitrary_with(params: Self::Parameters) -> Self::Strategy
impl Copy for PathType
impl Eq for PathType
impl StructuralPartialEq for PathType
Auto Trait Implementations§
impl Freeze for PathType
impl RefUnwindSafe for PathType
impl Send for PathType
impl Sync for PathType
impl Unpin for PathType
impl UnsafeUnpin for PathType
impl UnwindSafe for PathType
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Requestimpl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ToValue for Twhere
T: Arbitrary,
impl<T> ToValue for Twhere
T: Arbitrary,
Source§type Params = <T as Arbitrary>::Parameters
type Params = <T as Arbitrary>::Parameters
The parameters for generating arbitrary values of type
T.Source§fn arbitrary_value(seed: u128) -> T
fn arbitrary_value(seed: u128) -> T
Generates an arbitrary value of type
T using the given seed.