pub enum ResourceCommandKind {
Open,
Close,
Replace,
Refresh,
}Expand description
Resource command operation without application payload.
Variants§
Open
Open a resource.
Close
Close a resource.
Replace
Replace a resource.
Refresh
Refresh a resource.
Trait Implementations§
Source§impl Clone for ResourceCommandKind
impl Clone for ResourceCommandKind
Source§fn clone(&self) -> ResourceCommandKind
fn clone(&self) -> ResourceCommandKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ResourceCommandKind
Source§impl Debug for ResourceCommandKind
impl Debug for ResourceCommandKind
impl Eq for ResourceCommandKind
Source§impl PartialEq for ResourceCommandKind
impl PartialEq for ResourceCommandKind
Source§fn eq(&self, other: &ResourceCommandKind) -> bool
fn eq(&self, other: &ResourceCommandKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResourceCommandKind
Auto Trait Implementations§
impl Freeze for ResourceCommandKind
impl RefUnwindSafe for ResourceCommandKind
impl Send for ResourceCommandKind
impl Sync for ResourceCommandKind
impl Unpin for ResourceCommandKind
impl UnsafeUnpin for ResourceCommandKind
impl UnwindSafe for ResourceCommandKind
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