pub enum DaemonEndpoint {
Unix(PathBuf),
Tcp {
host: String,
port: u16,
},
}Expand description
Transport endpoint advertised by the CCCC daemon.
Variants§
Trait Implementations§
Source§impl Clone for DaemonEndpoint
impl Clone for DaemonEndpoint
Source§fn clone(&self) -> DaemonEndpoint
fn clone(&self) -> DaemonEndpoint
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 DaemonEndpoint
impl Debug for DaemonEndpoint
impl Eq for DaemonEndpoint
Source§impl PartialEq for DaemonEndpoint
impl PartialEq for DaemonEndpoint
impl StructuralPartialEq for DaemonEndpoint
Auto Trait Implementations§
impl Freeze for DaemonEndpoint
impl RefUnwindSafe for DaemonEndpoint
impl Send for DaemonEndpoint
impl Sync for DaemonEndpoint
impl Unpin for DaemonEndpoint
impl UnsafeUnpin for DaemonEndpoint
impl UnwindSafe for DaemonEndpoint
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