pub struct HostDestination { /* private fields */ }Expand description
Where an integrator lives, in terms the engine keeps opaque.
The address is never parsed and never executed: it is handed to the activation adapter as an environment value, and what it means is the operator’s business. That is what keeps a payload from becoming a command.
Implementations§
Source§impl HostDestination
impl HostDestination
pub const fn new( host_kind: HostKind, address: HostAddress, activation: HostActivationMode, ) -> Self
pub const fn host_kind(&self) -> &HostKind
pub const fn address(&self) -> &HostAddress
pub const fn activation(&self) -> HostActivationMode
Trait Implementations§
Source§impl Clone for HostDestination
impl Clone for HostDestination
Source§impl Debug for HostDestination
impl Debug for HostDestination
Source§impl<'de> Deserialize<'de> for HostDestination
impl<'de> Deserialize<'de> for HostDestination
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HostDestination
Source§impl PartialEq for HostDestination
impl PartialEq for HostDestination
Source§impl Serialize for HostDestination
impl Serialize for HostDestination
impl StructuralPartialEq for HostDestination
Auto Trait Implementations§
impl Freeze for HostDestination
impl RefUnwindSafe for HostDestination
impl Send for HostDestination
impl Sync for HostDestination
impl Unpin for HostDestination
impl UnsafeUnpin for HostDestination
impl UnwindSafe for HostDestination
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