pub struct Shutdown {}Trait Implementations§
impl Copy for Shutdown
impl Eq for Shutdown
Source§impl MemorySize for Shutdown
impl MemorySize for Shutdown
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 Shutdown
impl OperationDeclaration for Shutdown
const ID: &'static str = "harmos.shutdown"
const VERSION: u32 = 1
const POLICY: OperationPolicy = POLICY
type Response = ()
type Input = NoStream
type Output = NoStream
const DESCRIPTION: &'static str = ""
const VISIBILITY: Visibility = Visibility::Private
const REPLAY: ReplaySafety = ReplaySafety::Unknown
const GRPC: Option<Grpc> = None
fn grant(&self) -> Option<Grant>
fn key(&self) -> Option<CacheKey>
impl StructuralPartialEq for Shutdown
Source§impl Value for Shutdown
impl Value for Shutdown
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<Shutdown, 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 Shutdown
impl RefUnwindSafe for Shutdown
impl Send for Shutdown
impl Sync for Shutdown
impl Unpin for Shutdown
impl UnsafeUnpin for Shutdown
impl UnwindSafe for Shutdown
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