pub enum TransportChannelType {
Layer4(TransportProtocol),
Layer3(IpNextHeaderProtocol),
}
Expand description
Type of transport channel to present.
Variants§
Layer4(TransportProtocol)
The application will send and receive transport layer packets.
Layer3(IpNextHeaderProtocol)
The application will send and receive IPv4 packets, with the specified transport protocol.
Trait Implementations§
source§impl Clone for TransportChannelType
impl Clone for TransportChannelType
source§fn clone(&self) -> TransportChannelType
fn clone(&self) -> TransportChannelType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for TransportChannelType
Auto Trait Implementations§
impl RefUnwindSafe for TransportChannelType
impl Send for TransportChannelType
impl Sync for TransportChannelType
impl Unpin for TransportChannelType
impl UnwindSafe for TransportChannelType
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