pub enum Coordinates {
Cloud(FileReference),
DeviceOnly(DeviceId),
}Expand description
A file’s one place: never both and never neither.
Variants§
Cloud(FileReference)
Stored at <store>/files/<device>/<id>, readable with the key.
DeviceOnly(DeviceId)
Only on this device, which no other device can read it from.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Coordinates
impl RefUnwindSafe for Coordinates
impl Send for Coordinates
impl Sync for Coordinates
impl Unpin for Coordinates
impl UnsafeUnpin for Coordinates
impl UnwindSafe for Coordinates
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