Enum fwupd_dbus::RemoteKind
source · pub enum RemoteKind {
Unknown,
Download,
Local,
Directory,
}
Expand description
Describes the kind of remote.
Variants§
Trait Implementations§
source§impl Clone for RemoteKind
impl Clone for RemoteKind
source§fn clone(&self) -> RemoteKind
fn clone(&self) -> RemoteKind
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 RemoteKind
impl Debug for RemoteKind
source§impl Default for RemoteKind
impl Default for RemoteKind
source§impl From<u8> for RemoteKind
impl From<u8> for RemoteKind
source§fn from(value: u8) -> RemoteKind
fn from(value: u8) -> RemoteKind
Converts to this type from the input type.
source§impl PartialEq<RemoteKind> for RemoteKind
impl PartialEq<RemoteKind> for RemoteKind
source§fn eq(&self, other: &RemoteKind) -> bool
fn eq(&self, other: &RemoteKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RemoteKind
impl Eq for RemoteKind
impl StructuralEq for RemoteKind
impl StructuralPartialEq for RemoteKind
Auto Trait Implementations§
impl RefUnwindSafe for RemoteKind
impl Send for RemoteKind
impl Sync for RemoteKind
impl Unpin for RemoteKind
impl UnwindSafe for RemoteKind
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.