#[non_exhaustive]pub enum TransportProfile {
Local,
LocalAndRemote,
}Expand description
Which transports a registered service may be offered on.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Local
The local transport only. No method may be reachable by a remote device, and the builder refuses a remote daemon.
LocalAndRemote
The local transport, and signed remote devices for the methods whose policy names them.
Trait Implementations§
Source§impl Clone for TransportProfile
impl Clone for TransportProfile
impl Copy for TransportProfile
Source§impl Debug for TransportProfile
impl Debug for TransportProfile
impl Eq for TransportProfile
Source§impl PartialEq for TransportProfile
impl PartialEq for TransportProfile
impl StructuralPartialEq for TransportProfile
Auto Trait Implementations§
impl Freeze for TransportProfile
impl RefUnwindSafe for TransportProfile
impl Send for TransportProfile
impl Sync for TransportProfile
impl Unpin for TransportProfile
impl UnsafeUnpin for TransportProfile
impl UnwindSafe for TransportProfile
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