From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7825B33710B; Fri, 17 Oct 2025 14:53:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760712794; cv=none; b=QjUQOZK1Dz93uBt5Tx3IARna89qGsj+Gmz2CgwGskaPZh9bNMMXIIAK5F2VO0dgo7/wPDEbhv0yO70Ja/IcWEaaU8lgwl19/908KeQFiLrJbaS/pyK0KVLxI0ZfQThVVCkeJmasnMBFCIiXVuzkCa3GFaXOHZ375a0JK7ZXLmss= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760712794; c=relaxed/simple; bh=KKMA6xL8eUMuPpKnoZOnT2r3qIED5LERfUjbuLajSKc=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:Cc:To:From: References:In-Reply-To; b=eOCZGLUTnF1rSn+diKU6y/151TfzmUcnJs8EHVmRRdKlfD3cGMClWxf8vcPp7sjQWVOEW6tWz9SxRCpYUQXAMR8tYRSKI65fL9xLNEjeOoU2DnpkL1SLCqeKOkbVw0RC5KBwzU5AkrXNTN6Rmjq7IBIkcnK6XQS56we4wMWql80= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Wdw9mwo+; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Wdw9mwo+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 50FFFC4CEE7; Fri, 17 Oct 2025 14:53:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1760712794; bh=KKMA6xL8eUMuPpKnoZOnT2r3qIED5LERfUjbuLajSKc=; h=Date:Subject:Cc:To:From:References:In-Reply-To:From; b=Wdw9mwo+AlSuQihG28tFNJoBNE8j6lByk9rz0V7IEgvfXck5RbDI9MRYTJiKr1cQn EyAvAz9VfCWem9wKnmTn8JvgYhqTBwGm7snCAcUx9FFImQAEov0uLUUuh5k2UzE3ZW nUIXTLHs8Ie0eTB0TQEH2siD25v/3sbGvl7yxKAs7xKFJsy1mxWmXulxj6Vv9QZ7Zs meqLKF369/6xRZfsPru3juYEiXg1XvSsWs6oUvd9oLMqjNclVWg1wyJtfFrvCELfc5 DeNLs5WoRw3Tbpz0uun09fNcu3y648ACBZX9p9FJIxiwXdOiyhZghTtTgZoIPbMooQ Kdhtor7O22HsQ== Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 17 Oct 2025 16:53:09 +0200 Message-Id: Subject: Re: [PATCH 3/7] rust: debugfs: support for binary large objects Cc: , , , , , , , , , , , , To: "Alice Ryhl" From: "Danilo Krummrich" References: <20251003222729.322059-1-dakr@kernel.org> <20251003222729.322059-4-dakr@kernel.org> In-Reply-To: On Fri Oct 17, 2025 at 4:37 PM CEST, Danilo Krummrich wrote: > The reason I went with a trait is because that's consistent within the fi= le. > > Otherwise, I don't mind one or the other. If we always want to use a stru= ct, I'm > fine with that. :) Actually, there's another reason I forgot about since I sent the series. :) We need it because we derive it from blanket implementations: impl BinaryReadFile for T impl BinaryWriteFile for T impl BinaryReadWriteFile for T