pub struct ParsedEndpoint {
pub scheme: Scheme,
pub target: String,
pub baud: Option<u32>,
}Expand description
A parsed endpoint: the transport family plus its target and any transport options (currently just the serial baud).
Fields§
§scheme: SchemeWhich transport family this endpoint names.
target: StringThe transport target — a socket path, serial device path, or host:port.
baud: Option<u32>Serial baud from ?baud=N, if given (Serial only; dial defaults it
to DEFAULT_SERIAL_BAUD).
Trait Implementations§
Source§impl Clone for ParsedEndpoint
impl Clone for ParsedEndpoint
Source§fn clone(&self) -> ParsedEndpoint
fn clone(&self) -> ParsedEndpoint
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 moreSource§impl Debug for ParsedEndpoint
impl Debug for ParsedEndpoint
impl Eq for ParsedEndpoint
Source§impl PartialEq for ParsedEndpoint
impl PartialEq for ParsedEndpoint
impl StructuralPartialEq for ParsedEndpoint
Auto Trait Implementations§
impl Freeze for ParsedEndpoint
impl RefUnwindSafe for ParsedEndpoint
impl Send for ParsedEndpoint
impl Sync for ParsedEndpoint
impl Unpin for ParsedEndpoint
impl UnsafeUnpin for ParsedEndpoint
impl UnwindSafe for ParsedEndpoint
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