pub struct CoordinateSystemServiceHandle(/* private fields */);Expand description
Registry handle for a CoordinateSystemService.
Implementations§
Source§impl CoordinateSystemServiceHandle
impl CoordinateSystemServiceHandle
Sourcepub fn new(service: Arc<dyn CoordinateSystemService>) -> Self
pub fn new(service: Arc<dyn CoordinateSystemService>) -> Self
Wraps a trusted coordinate-system service.
Sourcepub fn coordinate_system(
&self,
source: &SourceId,
) -> Result<SourceCoordinateSystem, CoordinateSystemError>
pub fn coordinate_system( &self, source: &SourceId, ) -> Result<SourceCoordinateSystem, CoordinateSystemError>
The coordinate system of source. An uncovered source is refused,
and so is an answer about another source.
Trait Implementations§
Source§impl SnapshotBoundService for CoordinateSystemServiceHandle
impl SnapshotBoundService for CoordinateSystemServiceHandle
Source§fn source_snapshots(&self) -> &[SourceSnapshot]
fn source_snapshots(&self) -> &[SourceSnapshot]
Exact source snapshots used to construct this service.
Auto Trait Implementations§
impl !RefUnwindSafe for CoordinateSystemServiceHandle
impl !UnwindSafe for CoordinateSystemServiceHandle
impl Freeze for CoordinateSystemServiceHandle
impl Send for CoordinateSystemServiceHandle
impl Sync for CoordinateSystemServiceHandle
impl Unpin for CoordinateSystemServiceHandle
impl UnsafeUnpin for CoordinateSystemServiceHandle
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