pub enum ServerMethod {
Ping,
Sampling,
Elicitation,
Roots,
Tasks(TasksMethod),
Unknown(String),
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ServerMethod
impl Clone for ServerMethod
Source§fn clone(&self) -> ServerMethod
fn clone(&self) -> ServerMethod
Returns a duplicate 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 ServerMethod
impl Debug for ServerMethod
Source§impl PartialEq for ServerMethod
impl PartialEq for ServerMethod
impl Eq for ServerMethod
impl StructuralPartialEq for ServerMethod
Auto Trait Implementations§
impl Freeze for ServerMethod
impl RefUnwindSafe for ServerMethod
impl Send for ServerMethod
impl Sync for ServerMethod
impl Unpin for ServerMethod
impl UnsafeUnpin for ServerMethod
impl UnwindSafe for ServerMethod
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