pub struct MessageDestination {
pub dest_type: DestinationType,
pub dest: CString,
}Fields§
§dest_type: DestinationType§dest: CStringImplementations§
Source§impl MessageDestination
impl MessageDestination
pub fn new<T: Into<Vec<u8>>>( dest_type: DestinationType, destination: T, ) -> Result<Self, MessageError>
Trait Implementations§
Source§impl Debug for MessageDestination
impl Debug for MessageDestination
Source§impl From<solClient_destination> for MessageDestination
impl From<solClient_destination> for MessageDestination
Source§fn from(raw_dest: solClient_destination) -> Self
fn from(raw_dest: solClient_destination) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MessageDestination
impl RefUnwindSafe for MessageDestination
impl Send for MessageDestination
impl Sync for MessageDestination
impl Unpin for MessageDestination
impl UnwindSafe for MessageDestination
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