#[repr(u8)]pub enum ActionIdentifier {
Copy = 0,
MoveOrRename = 1,
SetPermissions = 2,
Vendor(u8),
}
Expand description
Specifies the type of action of the Action Operation. Defined in OBEX 1.5 Section 2.2.20.
Variants§
Copy = 0
MoveOrRename = 1
SetPermissions = 2
Vendor(u8)
0x03 - 0x7f is RFA. 0x80 - 0xff is reserved for vendor specific actions.
Trait Implementations§
Source§impl Clone for ActionIdentifier
impl Clone for ActionIdentifier
Source§fn clone(&self) -> ActionIdentifier
fn clone(&self) -> ActionIdentifier
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 ActionIdentifier
impl Debug for ActionIdentifier
Source§impl From<&ActionIdentifier> for u8
impl From<&ActionIdentifier> for u8
Source§fn from(src: &ActionIdentifier) -> u8
fn from(src: &ActionIdentifier) -> u8
Converts to this type from the input type.
Source§impl PartialEq for ActionIdentifier
impl PartialEq for ActionIdentifier
Source§impl TryFrom<u8> for ActionIdentifier
impl TryFrom<u8> for ActionIdentifier
impl Copy for ActionIdentifier
impl StructuralPartialEq for ActionIdentifier
Auto Trait Implementations§
impl Freeze for ActionIdentifier
impl RefUnwindSafe for ActionIdentifier
impl Send for ActionIdentifier
impl Sync for ActionIdentifier
impl Unpin for ActionIdentifier
impl UnwindSafe for ActionIdentifier
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
)