pub enum SynapseAction {
Discover {
synapse: Option<String>,
synapse_token_secret: Option<String>,
},
List,
Health {
synapse: Option<String>,
synapse_token_secret: Option<String>,
},
Add {
url: String,
},
Remove {
domain: String,
},
Use {
domain: String,
},
Config {
domain: String,
token_secret: Option<String>,
},
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl Forget for SynapseAction
impl Freeze for SynapseAction
impl RefUnwindSafe for SynapseAction
impl Send for SynapseAction
impl Sync for SynapseAction
impl Unpin for SynapseAction
impl UnsafeUnpin for SynapseAction
impl UnwindSafe for SynapseAction
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