pub enum DccSource {
Direct(Vec<u8>),
Routed {
network: u16,
address: Vec<u8>,
},
}Expand description
Exact claimed DCC source, not an authenticated principal (including SC VMAC).
Variants§
Direct(Vec<u8>)
Full link source MAC bytes, used only when no routed source is present.
Routed
Full routed source network and address, independent of the immediate router.
Once the server knows its own network’s number, an entry on that
network also matches the station’s direct requests from address
with no routed source (#1458).
Trait Implementations§
impl Eq for DccSource
impl StructuralPartialEq for DccSource
Auto Trait Implementations§
impl Freeze for DccSource
impl RefUnwindSafe for DccSource
impl Send for DccSource
impl Sync for DccSource
impl Unpin for DccSource
impl UnsafeUnpin for DccSource
impl UnwindSafe for DccSource
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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