This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::{ | |
pin::Pin, | |
task::{Context, Poll}, | |
}; | |
use chrono::{DateTime, Duration, Utc}; | |
use futures_core::{Stream, stream::LocalBoxStream}; | |
pub struct DiscardingStream<'a, T> { | |
last_message: Option<DateTime<Utc>>, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//! Module for WADO-RS requests | |
use dicom_object::{FileDicomObject, InMemDicomObject}; | |
use futures_util::{stream::BoxStream, Stream, StreamExt}; | |
use rand::{distr::Alphanumeric, Rng}; | |
use reqwest::Body; | |
use snafu::ResultExt; | |
use crate::{DicomWebClient, DicomWebError, RequestFailedSnafu}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error[E0373]: closure may outlive the current function, but it borrows `store`, which is owned by the current function | |
--> src/api/v1/send/routes.rs:90:15 | |
| | |
49 | store: web::Data<Arc<DynObjectStore>>, | |
| ----- lifetime `'1` appears in the type of `store` | |
... | |
90 | .then(|location| { | |
| ^^^^^^^^^^ may outlive borrowed value `store` | |
91 | let store_clone: web::Data<Arc<DynObjectStore>> = store.clone(); | |
| ----- `store` is borrowed here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error[E0277]: the trait bound `SelectStatement<FromClause<schema::import_file::table>, query_builder::select_clause::DefaultSelectClause<FromClause<schema::import_file::table>>, query_builder::distinct_clause::NoDistinctClause, query_builder::where_clause::WhereClause<diesel::expression::grouped::Grouped<diesel::expression::operators::Eq<schema::import_file::columns::import_uid, diesel::expression::bound::Bound<diesel::sql_types::Uuid, &uuid::Uuid>>>>>: QuerySource` is not satisfied | |
--> src/db/import_table.rs:412:36 | |
| | |
412 | diesel::delete(file.inner_join(import_file.filter(import_uid.eq(param_uid)))) | |
| ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `QuerySource` is not implemented for `SelectStatement<FromClause<table>, DefaultSelectClause<FromClause<table>>, ..., ...>` | |
| | | |
| required by a bound introduced by this call | |
| | |
= help: the trait `QuerySource` is implemented for `SelectStatement<F |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState, useEffect } from 'react'; | |
import { | |
Box, | |
Button, | |
List, | |
ListItem, | |
ListItemText, | |
IconButton, | |
Dialog, | |
DialogTitle, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Checking db v0.1.0 (/home/stephan/Development/mray_server/db) | |
warning: unused import: `self` | |
--> db/src/error.rs:1:16 | |
| | |
1 | use std::fmt::{self, Display, Formatter}; | |
| ^^^^ | |
| | |
= note: `#[warn(unused_imports)]` on by default | |
warning: unused import: `bb8` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 8, | |
"name": "Basic", | |
"sources": { | |
"openmaptiles": { | |
"type": "vector", | |
"url": "https://api.maptiler.com/tiles/v3-openmaptiles/tiles.json" | |
} | |
}, | |
"sprite": "https://openmaptiles.github.io/maptiler-basic-gl-style/sprite", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:dicom_web/dicom_web.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:mray_client/models/series_model.dart'; | |
import 'package:mray_client/models/studies_model.dart'; | |
import 'package:mray_client/services/dicom_web_service.dart'; | |
import 'package:mray_client/widgets/study_tile.dart'; | |
import 'package:provider/provider.dart'; | |
class InboxPage extends StatefulWidget { | |
const InboxPage({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"00080005": { | |
"Value": [ | |
"ISO_IR 100" | |
], | |
"vr": "CS" | |
}, | |
"00080008": { | |
"Value": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Checking multipart-rs v0.1.0 (/home/stephan/Development/multipart-rs) | |
error[E0309]: the parameter type `E` may not live long enough | |
--> src/reader.rs:74:9 | |
| | |
46 | impl<'a, E> MultipartReader<'a, E> { | |
| -- the parameter type `E` must be valid for the lifetime `'a` as defined here... | |
... | |
74 | MultipartReader::from_stream_with_boundary_and_type(stream, boundary, multipart_type) | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `E` will meet its required lifetime bounds | |
| |
NewerOlder