pub enum SingleResponseMode {
Disable = 0,
Enable = 1,
}
Expand description
Value indicating support for the Single Response Mode (SRM) feature in OBEX. Used as part
of Header::SingleResponseMode
.
Defined in OBEX 1.5 Section 2.2.23.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SingleResponseMode
impl Clone for SingleResponseMode
Source§fn clone(&self) -> SingleResponseMode
fn clone(&self) -> SingleResponseMode
Returns a copy 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 SingleResponseMode
impl Debug for SingleResponseMode
Source§impl From<&SingleResponseMode> for u8
impl From<&SingleResponseMode> for u8
Source§fn from(v: &SingleResponseMode) -> u8
fn from(v: &SingleResponseMode) -> u8
Converts to this type from the input type.
Source§impl From<SingleResponseMode> for Header
impl From<SingleResponseMode> for Header
Source§fn from(src: SingleResponseMode) -> Header
fn from(src: SingleResponseMode) -> Header
Converts to this type from the input type.
Source§impl From<bool> for SingleResponseMode
impl From<bool> for SingleResponseMode
Source§fn from(src: bool) -> SingleResponseMode
fn from(src: bool) -> SingleResponseMode
Converts to this type from the input type.
Source§impl Hash for SingleResponseMode
impl Hash for SingleResponseMode
Source§impl PartialEq for SingleResponseMode
impl PartialEq for SingleResponseMode
Source§impl TryFrom<u8> for SingleResponseMode
impl TryFrom<u8> for SingleResponseMode
impl Copy for SingleResponseMode
impl Eq for SingleResponseMode
impl StructuralPartialEq for SingleResponseMode
Auto Trait Implementations§
impl Freeze for SingleResponseMode
impl RefUnwindSafe for SingleResponseMode
impl Send for SingleResponseMode
impl Sync for SingleResponseMode
impl Unpin for SingleResponseMode
impl UnwindSafe for SingleResponseMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)