pub enum ExchangeClass {
Declare(DeclareMethod),
DeclareOk,
Delete(DeleteMethod),
DeleteOk,
Bind(BindMethod),
BindOk,
Unbind(UnbindMethod),
UnbindOk,
}Variants§
Declare(DeclareMethod)
DeclareOk
Delete(DeleteMethod)
DeleteOk
Bind(BindMethod)
BindOk
Unbind(UnbindMethod)
UnbindOk
Implementations§
Source§impl ExchangeClass
impl ExchangeClass
pub fn declare(&self) -> Option<&DeclareMethod>
pub fn declare_ok(&self) -> Option<()>
pub fn delete(&self) -> Option<&DeleteMethod>
pub fn delete_ok(&self) -> Option<()>
pub fn bind(&self) -> Option<&BindMethod>
pub fn bind_ok(&self) -> Option<()>
pub fn unbind(&self) -> Option<&UnbindMethod>
pub fn unbind_ok(&self) -> Option<()>
Trait Implementations§
Source§impl Clone for ExchangeClass
impl Clone for ExchangeClass
Source§fn clone(&self) -> ExchangeClass
fn clone(&self) -> ExchangeClass
Returns a duplicate of the value. Read more
1.0.0 · 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 ExchangeClass
impl Debug for ExchangeClass
Source§impl PartialEq for ExchangeClass
impl PartialEq for ExchangeClass
impl StructuralPartialEq for ExchangeClass
Auto Trait Implementations§
impl !Freeze for ExchangeClass
impl RefUnwindSafe for ExchangeClass
impl Send for ExchangeClass
impl Sync for ExchangeClass
impl Unpin for ExchangeClass
impl UnwindSafe for ExchangeClass
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