Enum dbus_codegen::ServerAccess
source · pub enum ServerAccess {
RefClosure,
AsRefClosure,
MethodInfo,
}
Expand description
Server access code generation option
Variants§
RefClosure
Supply a closure from ref to ref
AsRefClosure
Supply a closure from ref to owned object which asrefs
MethodInfo
The interface is implemented for MethodInfo
Trait Implementations§
source§impl Clone for ServerAccess
impl Clone for ServerAccess
source§fn clone(&self) -> ServerAccess
fn clone(&self) -> ServerAccess
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 ServerAccess
impl Debug for ServerAccess
source§impl PartialEq for ServerAccess
impl PartialEq for ServerAccess
source§fn eq(&self, other: &ServerAccess) -> bool
fn eq(&self, other: &ServerAccess) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ServerAccess
impl Eq for ServerAccess
impl StructuralPartialEq for ServerAccess
Auto Trait Implementations§
impl RefUnwindSafe for ServerAccess
impl Send for ServerAccess
impl Sync for ServerAccess
impl Unpin for ServerAccess
impl UnwindSafe for ServerAccess
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