pub struct ExternalCommand {
pub external_command: String,
pub parameter: String,
}
Fields§
§external_command: String
§parameter: String
Implementations§
Source§impl ExternalCommand
impl ExternalCommand
pub fn new(external_command: String, parameter: String) -> ExternalCommand
pub fn spec(&self) -> XResult<ExternalSpecResult>
pub fn public_key(&self) -> XResult<Vec<u8>>
pub fn sign(&self, alg: &str, content: &[u8]) -> XResult<Vec<u8>>
pub fn ecdh(&self, ephemera_public_key: &[u8]) -> XResult<Vec<u8>>
Auto Trait Implementations§
impl Freeze for ExternalCommand
impl RefUnwindSafe for ExternalCommand
impl Send for ExternalCommand
impl Sync for ExternalCommand
impl Unpin for ExternalCommand
impl UnwindSafe for ExternalCommand
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