pub struct SdkRepository { /* private fields */ }Implementations§
Source§impl SdkRepository
impl SdkRepository
pub fn new(server_config: ServerConfig, realtime_socket: RealtimeSocket) -> Self
pub fn secret_keys(&self) -> HashMap<String, String>
pub fn sync( &self, client_sdk_key: String, server_sdk_key: String, version: u128, )
pub fn sync_with(&self, keys_url: Url)
pub fn server_sdk_repo_string( &self, server_sdk_key: &str, ) -> Result<String, FPServerError>
pub fn client_sdk_eval_string( &self, client_sdk_key: &str, user: &FPUser, ) -> Result<String, FPServerError>
pub fn client_sdk_events_string( &self, client_sdk_key: &str, ) -> Result<String, FPServerError>
pub fn client_sync_now( &self, sdk_key: &str, t: SyncType, ) -> Result<String, FPServerError>
Trait Implementations§
Source§impl Clone for SdkRepository
impl Clone for SdkRepository
Source§fn clone(&self) -> SdkRepository
fn clone(&self) -> SdkRepository
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SdkRepository
impl !RefUnwindSafe for SdkRepository
impl Send for SdkRepository
impl Sync for SdkRepository
impl Unpin for SdkRepository
impl !UnwindSafe for SdkRepository
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