pub enum Source {
Auto,
Addr(AmsAddr),
Request,
}
Expand description
Specifies the source AMS address to use.
Variants
Auto
Auto-generate a source address from the local address and a random port.
Addr(AmsAddr)
Use a specified source address.
Request
Request to open a port in the connected router and get the address from
it. This is necessary when connecting to a local PLC on 127.0.0.1
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnwindSafe for Source
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more