pub struct StandaloneMessagingService { /* private fields */ }
Implementations§
Source§impl StandaloneMessagingService
impl StandaloneMessagingService
pub fn new<MRL, MAF, MCF>(
message_receive_listener: MRL,
msrp_socket_allocator_function: MAF,
msrp_socket_connect_function: MCF,
) -> StandaloneMessagingServicewhere
MRL: Fn(&[u8], &CPIMInfo<'_>, &[u8], &[u8]) + Send + Sync + 'static,
MAF: Fn(Option<&MsrpInfo<'_>>) -> Result<(ClientSocket, String, u16, bool, bool, bool), (u16, &'static str)> + Send + Sync + 'static,
MCF: Fn(ClientSocket, &String, u16, bool) -> Pin<Box<dyn Future<Output = Result<ClientStream, (u16, &'static str)>> + Send>> + Send + Sync + 'static,
pub fn set_registered_public_identity( &self, registered_public_identity: String, sip_instance_id: String, transport: Arc<SipTransport>, )
pub fn send_large_mode_message<MRF>( &self, message_type: &str, message_content: &str, recipient: &str, recipient_type: &RecipientType, recipient_uri: &str, message_result_callback: MRF, core: &Arc<SipCore>, rt: &Arc<Runtime>, )
Auto Trait Implementations§
impl Freeze for StandaloneMessagingService
impl !RefUnwindSafe for StandaloneMessagingService
impl Send for StandaloneMessagingService
impl Sync for StandaloneMessagingService
impl Unpin for StandaloneMessagingService
impl !UnwindSafe for StandaloneMessagingService
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