pub struct LoginsBridgedEngine { /* private fields */ }Expand description
see services/interfaces/mozIBridgedSyncEngine.idl for contract
Implementations§
Source§impl LoginsBridgedEngine
impl LoginsBridgedEngine
pub fn new(bridge_impl: Box<dyn BridgedEngine>) -> Self
pub fn last_sync(&self) -> Result<i64>
pub fn set_last_sync(&self, last_sync: i64) -> Result<()>
pub fn sync_id(&self) -> Result<Option<String>>
pub fn reset_sync_id(&self) -> Result<String>
pub fn ensure_current_sync_id(&self, sync_id: &str) -> Result<String>
pub fn sync_started(&self) -> Result<()>
pub fn store_incoming(&self, incoming: Vec<String>) -> Result<()>
pub fn apply(&self) -> Result<Vec<String>>
pub fn set_uploaded( &self, server_modified_millis: i64, guids: Vec<String>, ) -> Result<()>
pub fn sync_finished(&self) -> Result<()>
pub fn reset(&self) -> Result<()>
pub fn wipe(&self) -> Result<()>
Trait Implementations§
Source§impl<UT> LiftRef<UT> for LoginsBridgedEngine
impl<UT> LiftRef<UT> for LoginsBridgedEngine
type LiftType = Arc<LoginsBridgedEngine>
Source§impl<UT> LowerError<UT> for LoginsBridgedEngine
impl<UT> LowerError<UT> for LoginsBridgedEngine
Source§fn lower_error(obj: Self) -> RustBuffer
fn lower_error(obj: Self) -> RustBuffer
Lower this value for scaffolding function return Read more
Source§impl<UT> LowerReturn<UT> for LoginsBridgedEngine
impl<UT> LowerReturn<UT> for LoginsBridgedEngine
Source§type ReturnType = <Arc<LoginsBridgedEngine> as LowerReturn<UniFfiTag>>::ReturnType
type ReturnType = <Arc<LoginsBridgedEngine> as LowerReturn<UniFfiTag>>::ReturnType
The type that should be returned by scaffolding functions for this type. Read more
Source§fn lower_return(obj: Self) -> Result<Self::ReturnType, RustCallError>
fn lower_return(obj: Self) -> Result<Self::ReturnType, RustCallError>
Lower the return value from an scaffolding call Read more
§fn handle_failed_lift(
error: LiftArgsError,
) -> Result<Self::ReturnType, RustCallError>
fn handle_failed_lift( error: LiftArgsError, ) -> Result<Self::ReturnType, RustCallError>
Lower the return value for failed argument lifts Read more
Source§impl<UT> TypeId<UT> for LoginsBridgedEngine
impl<UT> TypeId<UT> for LoginsBridgedEngine
const TYPE_ID_META: MetadataBuffer
Auto Trait Implementations§
impl Freeze for LoginsBridgedEngine
impl !RefUnwindSafe for LoginsBridgedEngine
impl Send for LoginsBridgedEngine
impl Sync for LoginsBridgedEngine
impl Unpin for LoginsBridgedEngine
impl !UnwindSafe for LoginsBridgedEngine
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
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<> Read more