pub struct AbandonFile {
pub mutation: MutationId,
pub session: FileSession,
}Fields§
§mutation: MutationId§session: FileSessionTrait Implementations§
Source§impl Clone for AbandonFile
impl Clone for AbandonFile
Source§fn clone(&self) -> AbandonFile
fn clone(&self) -> AbandonFile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Contains<AbandonFile> for Operations
Source§impl Debug for AbandonFile
impl Debug for AbandonFile
Source§impl Described for AbandonFile
impl Described for AbandonFile
impl Eq for AbandonFile
Source§impl MemorySize for AbandonFile
impl MemorySize for AbandonFile
fn memory_size(&self) -> usize
Source§const INLINE_ONLY: bool = false
const INLINE_ONLY: bool = false
True only when every value occupies exactly
size_of::<Self>() bytes,
with no separately owned allocations or additional accounting charge.Source§impl OperationDeclaration for AbandonFile
impl OperationDeclaration for AbandonFile
const ID: &'static str = "storage.abandon_file"
const VERSION: u32 = 1
const POLICY: OperationPolicy = POLICY
const VISIBILITY: Visibility = Visibility::Host
const REPLAY: ReplaySafety = ReplaySafety::Idempotent
type Response = FileProgress
type Input = NoStream
type Output = NoStream
const DESCRIPTION: &'static str = ""
const GRPC: Option<Grpc> = None
fn grant(&self) -> Option<Grant>
fn key(&self) -> Option<CacheKey>
Source§impl PartialEq for AbandonFile
impl PartialEq for AbandonFile
impl StructuralPartialEq for AbandonFile
Source§impl Value for AbandonFile
impl Value for AbandonFile
fn write(&self, bytes: &mut Vec<u8>)
fn size(&self) -> usize
fn memory(input: &mut Reader<'_>) -> Result<usize, MessageError>
fn read(input: &mut Reader<'_>) -> Result<AbandonFile, MessageError>
fn size_many(values: &[Self]) -> usize
fn write_many(values: &[Self], bytes: &mut Vec<u8>)
fn memory_many( input: &mut Reader<'_>, count: usize, ) -> Result<usize, MessageError>
fn read_many( input: &mut Reader<'_>, count: usize, ) -> Result<Vec<Self>, MessageError>
Auto Trait Implementations§
impl Freeze for AbandonFile
impl RefUnwindSafe for AbandonFile
impl Send for AbandonFile
impl Sync for AbandonFile
impl Unpin for AbandonFile
impl UnsafeUnpin for AbandonFile
impl UnwindSafe for AbandonFile
Blanket Implementations§
impl<T> Allocation for T
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