pub struct Flags(/* private fields */);
Implementations§
Source§impl Flags
impl Flags
pub fn has_username(&self) -> bool
pub fn set_has_username(&mut self, value: bool)
pub fn has_password(&self) -> bool
pub fn set_has_password(&mut self, value: bool)
pub fn will_retain(&self) -> bool
pub fn set_will_retain(&mut self, value: bool)
pub fn has_will(&self) -> bool
pub fn set_has_will_flag(&mut self, value: bool)
pub fn clean_session(&self) -> bool
pub fn set_clean_session(&mut self, value: bool)
pub fn will_qos(&self) -> Result<QoS, Error>
pub fn set_will_qos(&mut self, qos: QoS)
Trait Implementations§
impl Copy for Flags
impl StructuralPartialEq for Flags
Auto Trait Implementations§
impl Freeze for Flags
impl RefUnwindSafe for Flags
impl Send for Flags
impl Sync for Flags
impl Unpin for Flags
impl UnwindSafe for Flags
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