Struct bitcoin_sam::SAMSessionReply
source · pub struct SAMSessionReply { /* private fields */ }Expand description
| A reply from the SAM proxy. |
Implementations§
source§impl SAMSessionReply
impl SAMSessionReply
sourcepub fn get(&self, key: &str) -> String
pub fn get(&self, key: &str) -> String
| Get the value of a given key. | | For example if the reply is “A=X B” then: | | Value(“A”) -> “X” | | Value(“B”) -> throws | | Value(“C”) -> throws | | ———– | @param[in] key | | Key whose value to retrieve | | ———– | @return | | the key’s value @throws std::runtime_error | if the key is not present or if it has no | value |
Auto Trait Implementations§
impl RefUnwindSafe for SAMSessionReply
impl Send for SAMSessionReply
impl Sync for SAMSessionReply
impl Unpin for SAMSessionReply
impl UnwindSafe for SAMSessionReply
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more