pub struct AcknowledgedCustomEndpoint<'a> { /* private fields */ }Expand description
Custom endpoint paired with an explicit operator acknowledgement.
Implementations§
Source§impl<'a> AcknowledgedCustomEndpoint<'a>
impl<'a> AcknowledgedCustomEndpoint<'a>
Sourcepub const fn new(
identity: EndpointIdentity<'a>,
acknowledgement: CustomEndpointAcknowledgement,
) -> Self
pub const fn new( identity: EndpointIdentity<'a>, acknowledgement: CustomEndpointAcknowledgement, ) -> Self
Binds an endpoint identity to explicit operator acknowledgement.
Sourcepub const fn identity(self) -> EndpointIdentity<'a>
pub const fn identity(self) -> EndpointIdentity<'a>
Returns the acknowledged endpoint identity.
Trait Implementations§
Source§impl<'a> Clone for AcknowledgedCustomEndpoint<'a>
impl<'a> Clone for AcknowledgedCustomEndpoint<'a>
Source§fn clone(&self) -> AcknowledgedCustomEndpoint<'a>
fn clone(&self) -> AcknowledgedCustomEndpoint<'a>
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 moreimpl<'a> Copy for AcknowledgedCustomEndpoint<'a>
Source§impl<'a> Debug for AcknowledgedCustomEndpoint<'a>
impl<'a> Debug for AcknowledgedCustomEndpoint<'a>
impl<'a> Eq for AcknowledgedCustomEndpoint<'a>
Source§impl<'a> PartialEq for AcknowledgedCustomEndpoint<'a>
impl<'a> PartialEq for AcknowledgedCustomEndpoint<'a>
impl<'a> StructuralPartialEq for AcknowledgedCustomEndpoint<'a>
Auto Trait Implementations§
impl<'a> Freeze for AcknowledgedCustomEndpoint<'a>
impl<'a> RefUnwindSafe for AcknowledgedCustomEndpoint<'a>
impl<'a> Send for AcknowledgedCustomEndpoint<'a>
impl<'a> Sync for AcknowledgedCustomEndpoint<'a>
impl<'a> Unpin for AcknowledgedCustomEndpoint<'a>
impl<'a> UnsafeUnpin for AcknowledgedCustomEndpoint<'a>
impl<'a> UnwindSafe for AcknowledgedCustomEndpoint<'a>
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