pub enum SourceSelection {
EgressPort,
Port(PortId),
}Expand description
Which of the router’s addresses a request it originates names as its source.
Variants§
EgressPort
The router’s address on the port the request leaves by: no SNET or SADR, so the next router adds that port’s network and the router’s MAC there, as it does for any node on that network (Clause 6.5.4). The default.
Port(PortId)
The router’s address on this port’s network: SNET and SADR naming it, whichever port the request leaves by, or none when it leaves by this port, where the link source already says so. For an application that answers to one address.
Trait Implementations§
Source§impl Clone for SourceSelection
impl Clone for SourceSelection
Source§fn clone(&self) -> SourceSelection
fn clone(&self) -> SourceSelection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SourceSelection
Source§impl Debug for SourceSelection
impl Debug for SourceSelection
Source§impl Default for SourceSelection
impl Default for SourceSelection
Source§fn default() -> SourceSelection
fn default() -> SourceSelection
Returns the “default value” for a type. Read more
impl Eq for SourceSelection
Source§impl PartialEq for SourceSelection
impl PartialEq for SourceSelection
impl StructuralPartialEq for SourceSelection
Auto Trait Implementations§
impl Freeze for SourceSelection
impl RefUnwindSafe for SourceSelection
impl Send for SourceSelection
impl Sync for SourceSelection
impl Unpin for SourceSelection
impl UnsafeUnpin for SourceSelection
impl UnwindSafe for SourceSelection
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