pub enum Confirmation {
Ack(Option<BasicReturnMessage>),
Nack(Option<BasicReturnMessage>),
NotRequested,
}Variants§
Implementations§
Source§impl Confirmation
impl Confirmation
pub fn take_message(self) -> Option<BasicReturnMessage>
pub fn is_ack(&self) -> bool
pub fn is_nack(&self) -> bool
Trait Implementations§
Source§impl Debug for Confirmation
impl Debug for Confirmation
Source§impl PartialEq for Confirmation
impl PartialEq for Confirmation
impl StructuralPartialEq for Confirmation
Auto Trait Implementations§
impl Freeze for Confirmation
impl RefUnwindSafe for Confirmation
impl Send for Confirmation
impl Sync for Confirmation
impl Unpin for Confirmation
impl UnsafeUnpin for Confirmation
impl UnwindSafe for Confirmation
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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